M-Files UI Extensibility Framework
GetObjectVersionsCount Method
IShellItems Interface : GetObjectVersionsCount Method
Gets the number of object versions. This method is faster than constructing the object versions collection.
Visual Basic
Public Function GetObjectVersionsCount() As Long

This method provides better performance to check if object versions are available, than fetching the collection of object versions with ObjectVersions Property.

Supported in M-Files 10.0.3911.3 and newer.

See Also

IShellItems Interface  | IShellItems Members