共用方式為


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)
Available in Sandboxed Solutions: No

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