Sign in Join
FPDoc Onlineexperiment

TFileVersionInfo class

In unit FileInfo

High-level component for accessing file version information

Declaration

pascal
TFileVersionInfo = class(TComponent)

Inheritance

  1. TFileVersionInfo
  2. TComponent
  3. TPersistent
  4. TObject

Description

TFileVersionInfo is a component that provides easy access to version information from executable files. It automatically extracts version strings and supports filtering by key names and translations. The component can be enabled to automatically read version information when properties change.

Errors

Raises EVersionInfo when translation is not found and TranslationOnly is True.

See also

Properties

EnabledpublishedControls automatic reading of version information
FileNamepublishedFile name to read version information from
VersionStringspublishedExtracted version information strings
FilterpublishedList of version string keys to extract
TranslationpublishedLanguage and code page identifier for version strings
TranslationOnlypublishedControls behavior when specified translation is not found

Methods

CreatepublicCreates a new TFileVersionInfo component
DestroypublicDestroys the TFileVersionInfo component
LoadedpublicCalled after component loading is complete
ReadFileInfopublicReads version information from the specified file

Inherited

From TComponent (73)

_AddRef _Release BeforeDestruction CanObserve ChangeName ComObject ComponentCount ComponentIndex Components ComponentState ComponentStyle DefineProperties DesignInfo DestroyComponents Destroying ExecuteAction FindComponent FreeNotification FreeOnRelease GetChildOwner GetChildParent GetChildren GetDeltaStreams GetEnumerator GetIDsOfNames GetNamePath GetObservers GetOwner GetParentComponent GetTypeInfo GetTypeInfoCount HasParent iicrGetComponent InsertComponent Invoke IsImplementorOf Loading Name Notification ObserverAdded Observers OnGetDeltaStreams Owner PaletteCreated QueryInterface ReadDeltaState ReadDeltaStream ReadState ReferenceInterface RemoveComponent RemoveFreeNotification RemoveFreeNotifications SafeCallException SetAncestor SetChildOrder SetDesigning SetDesignInstance SetInline SetName SetParentComponent SetSubComponent Tag ToString TToStringNameMode UpdateAction Updated UpdateRegistry Updating ValidateContainer ValidateInsert ValidateRename VCLComObject WriteState

From TPersistent (5)

Assign AssignTo FPOAttachObserver FPODetachObserver FPONotifyObservers

From TObject (37)

AfterConstruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName StringMessageTable SystemHasExtendedRTTI UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.