M-Files API 23.11.13135.0
GetObjectType Method
VaultObjectTypeOperations Object : GetObjectType Method
Description
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.
Syntax
Visual Basic
Public Function GetObjectType( _
   ByVal ObjectType As Long _
) As ObjType
Parameters
ObjectType
Return Type
The object type ID.
Remarks
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