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)

Syntax

'Declaration
Protected Overridable Function GetXPathNavigator ( _
    viewPath As String _
) As XPathNavigator
'Usage
Dim viewPath As String
Dim returnValue As XPathNavigator

returnValue = Me.GetXPathNavigator(viewPath)
protected virtual XPathNavigator GetXPathNavigator(
    string viewPath
)

Parameters

Return value

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

Remarks

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.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace