Export (0) Print
Expand All

DataFormWebPart.GetXPathNavigator method

Returns a cursor model for navigating and editing XML information items in the view.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

protected virtual XPathNavigator GetXPathNavigator(
	string viewPath


Type: System.String

The path to the data source view.

Return value

Type: System.Xml.XPath.XPathNavigator
An XPathNavigator for the data.

The path to the data source view must be passed to the Select(DataSourceSelectArguments, DataSourceViewSelectCallback) method.

Exceptions raised as a result of using the XPathNavigator class may contain sensitive information that should not be exposed in untrusted scenarios. Exceptions should be handled so that sensitive information is not exposed.

Community Additions

© 2014 Microsoft