DataSource.GetNamedNodeProperty Method (Microsoft.Office.InfoPath)
Assembly: Microsoft.Office.InfoPath (in microsoft.office.infopath.dll)
An XPathNavigator object positioned at the XML node corresponding to a nonattribute node in the main data source, for which a named property is to be returned.
The name of the property whose value is to be returned.
Return ValueThe value of the specified named property.
The specified XML node is invalid.
The specified property name is invalid.
The parameters passed to this method are null.
The parameters passed to this method arenot valid. For example, they are of the wrong type or format.
Named properties allow users to associate strings with user-defined properties of XML element nodes in the main data source. Use the GetNamedNodeProperty method to read the value of a named property. The value of a named property can be set by using the SetNamedNodeProperty method.
This member can be accessed only by forms running in the same domain as the currently open form, or by forms that have been granted cross-domain permissions.
This type or member can be accessed from code running in forms opened in Microsoft Office InfoPath 2007 or in a Web browser.