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

[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public interface ISPHierarchyData : IHierarchyData

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.