共用方式為


ISPHierarchyData Interface

Provides an interface to create hierarchical XmlDocument objects from data sources that derive from the IHierarchicalDataSource class.

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

Syntax

'Declaration
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Interface ISPHierarchyData _
    Inherits IHierarchyData
'Usage
Dim instance As ISPHierarchyData
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public interface ISPHierarchyData : IHierarchyData

Remarks

Properly formatted message exchange occurs between data providers and consumers when data types are marshaled to managed classes.

XmlDocument objects must be marshaled as XmlNode or SoapXml objects in order to be used as parameters for SharePoint FoundationWebService methods.

See Also

Reference

ISPHierarchyData Members

Microsoft.SharePoint.WebPartPages Namespace

Windows SharePoint Services Web Service

IHierarchyData

SoapXml

SoapXml.SoapXmlElement