DataFormWebPart.ConstructXPathNavigator method
對傳入的IEnumerable集合來建構XPathNavigator 。
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Shared Function ConstructXPathNavigator ( _
dataEnumeration As IEnumerable, _
attributes As ArrayList, _
dataCollectionName As String, _
dataItemName As String _
) As XPathNavigator
'用途
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
)
參數
dataEnumeration
Type: System.Collections.IEnumerable資料
attributes
Type: System.Collections.ArrayList在 [資料] 屬性的名稱。
dataCollectionName
Type: System.String資料集合的名稱。
dataItemName
Type: System.String在資料中的每個項目的名稱。
傳回值
Type: System.Xml.XPath.XPathNavigator