M-Files API 22.6.11519.0
SetFromXML Method
DefaultProperty Object : SetFromXML Method
The XPath expression for extracting the value.
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
Description
Sets the FromXML data.
Syntax
Visual Basic
Public Sub SetFromXML( _
   ByVal XPathExpression As String, _
   ByVal TreatLookupAsID As Boolean, _
   ByVal AddVLItemIfNotFound As Boolean _
) 
Parameters
XPathExpression
The XPath expression for extracting the value.
TreatLookupAsID
If this parameter is True, values should be treated as item IDs instead of display names. Valid only if the property represents a lookup value.
AddVLItemIfNotFound
If this parameter is True, a new value list item should be added if it is not found. Valid only if the property represents a lookup value.
See Also

DefaultProperty Object  | DefaultProperty Members