M-Files API 23.11.13135.0
GetValueListItemIDByGUID Method
VaultValueListItemOperations Object : GetValueListItemIDByGUID Method
The value list.
The GUID of the item.
True if deleted items are included in the search. If false, only existing (not deleted) items are searched.
Description
Gets the ID of the value list item with the specified GUID. Returns -1 if a match is not found.
Syntax
Visual Basic
Public Function GetValueListItemIDByGUID( _
   ByVal ValueList As Long, _
   ByVal ItemGUID As String, _
   Optional ByVal AllowDeletedItems As Boolean = False _
) As Long
Parameters
ValueList
The value list.
ItemGUID
The GUID of the item.
AllowDeletedItems
True if deleted items are included in the search. If false, only existing (not deleted) items are searched.
See Also

VaultValueListItemOperations Object  | VaultValueListItemOperations Members