_XDocument3.SetNamedNodeProperty Method
Sets the value of a named property for the supplied XML node, which must be a nonattribute node in the main data source.
Namespace: Microsoft.Office.Interop.InfoPath
Assembly: Microsoft.Office.Interop.InfoPath (in microsoft.office.interop.infopath.dll)
Syntax
'Declaration
'Usage
Parameters
- pxmlMainDOMNode
An XML node corresponding to a nonattribute node in the main data source, for which a named property is to be set.
- bstrPropertyName
Specifies the name of the property being set.
- bstrValue
Specifies the value to which the property will be set.
Remarks
Named properties allow users to associate strings with user-defined properties of XML element nodes in the main data source. The value of a named property can be set by using the SetNamedNodeProperty method. Use the GetNamedNodeProperty method to read the value of a named property.
See Also
Reference
_XDocument3 Interface
_XDocument3 Members
Microsoft.Office.Interop.InfoPath Namespace