M-Files API 23.11.13135.0
SearchForPropertyByAlias Method
PropertyValues Collection : SearchForPropertyByAlias Method
The target vault.
The alias of the property to search for.
If true, the method will return NULL if the specified property is not found. If false, the method raises an error if the specified property is not found.
Description
Searches the collection for a specified property value. Uses an alias to identify the property.
Syntax
Visual Basic
Public Function SearchForPropertyByAlias( _
   ByVal Vault As Vault, _
   ByVal PropertyDefAlias As String, _
   ByVal ReturnNULLIfNotFound As Boolean _
) As PropertyValue
Parameters
Vault
The target vault.
PropertyDefAlias
The alias of the property to search for.
ReturnNULLIfNotFound
If true, the method will return NULL if the specified property is not found. If false, the method raises an error if the specified property is not found.
Remarks
See also SearchForPropertyEx Method.
See Also

PropertyValues Collection  | PropertyValues Members