DataFormWebPart.ConstructXPathNavigator Method
Constructs an XPathNavigator over the IEnumerable collection passed in.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Shared Function ConstructXPathNavigator ( _
dataEnumeration As IEnumerable, _
attributes As ArrayList, _
dataCollectionName As String, _
dataItemName As String _
) As XPathNavigator
'Usage
Dim dataEnumeration As IEnumerable
Dim attributes As ArrayList
Dim dataCollectionName As String
Dim dataItemName As String
Dim returnValue As XPathNavigator
returnValue = DataFormWebPart.ConstructXPathNavigator(dataEnumeration, _
attributes, dataCollectionName, _
dataItemName)
public static XPathNavigator ConstructXPathNavigator(
IEnumerable dataEnumeration,
ArrayList attributes,
string dataCollectionName,
string dataItemName
)
Parameters
dataEnumeration
Type: System.Collections.IEnumerableData.
attributes
Type: System.Collections.ArrayListNames of the attributes in the data.
dataCollectionName
Type: System.StringName for the collection of data.
dataItemName
Type: System.StringName for each item in the data.
Return Value
Type: System.Xml.XPath.XPathNavigator