M-Files API 22.6.11519.0
GetObjectType Method
VaultObjectTypeOperations Object : GetObjectType Method
Gets information on the specified object type or value list. In the client interface mode, this method supports getting a real object type only. Use the GetValueList method for retrieving a value list.
Visual Basic
Public Function GetObjectType( _
   ByVal ObjectType As Long _
) As ObjType
Return Type
The object type ID.
This method fails if the object type is a value list. If you don't know whether the object type is a real object type or a value list, use the GetValueList method in the VaultValueListOperation interface instead.
See Also

VaultObjectTypeOperations Object  | VaultObjectTypeOperations Members