TFileVersionInfo class
High-level component for accessing file version information
Declaration
TFileVersionInfo = class(TComponent)Inheritance
- TFileVersionInfo
- TComponent
- TPersistent
- 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
Enabled | published | Controls automatic reading of version information |
FileName | published | File name to read version information from |
VersionStrings | published | Extracted version information strings |
Filter | published | List of version string keys to extract |
Translation | published | Language and code page identifier for version strings |
TranslationOnly | published | Controls behavior when specified translation is not found |
Methods
Create | public | Creates a new TFileVersionInfo component |
Destroy | public | Destroys the TFileVersionInfo component |
Loaded | public | Called after component loading is complete |
ReadFileInfo | public | Reads 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.
