共用方式為


SPHierarchyDataView.Select Method

Gets a list of all the data items in the view.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Function Select As IHierarchicalEnumerable
'Usage
Dim instance As SPHierarchyDataView
Dim returnValue As IHierarchicalEnumerable

returnValue = instance.Select()
public override IHierarchicalEnumerable Select()

Return Value

Type: System.Web.UI.IHierarchicalEnumerable
An IHierarchicalEnumerable collection of data items.

Remarks

The Select method returns an IHierarchicalEnumerable collection of data items in the current view. You can call the GetEnumerator method to get an IEnumerator object and iterate through the collection of data items.

See Also

Reference

SPHierarchyDataView Class

SPHierarchyDataView Members

Microsoft.SharePoint.Navigation Namespace

IEnumerable

HierarchicalDataSourceView