M-Files API 22.6.11519.0
IndexOfByAlias Method
PropertyValues Collection : IndexOfByAlias Method
The target vault.
The alias of the property to search for.
Description
Returns the index of the specified property value in the collection, or -1 if the specified property value does not exist in the collection. Uses an alias to identify the property.
Syntax
Visual Basic
Public Function IndexOfByAlias( _
   ByVal Vault As Vault, _
   ByVal PropertyDefAlias As String _
) As Long
Parameters
Vault
The target vault.
PropertyDefAlias
The alias of the property to search for.
See Also

PropertyValues Collection  | PropertyValues Members