Partilhar via


SPSiteMapDataSourceDesigner.GetView Method

Gets the DesignerHierarchicalDataSourceView for the specified view.

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

Syntax

'Declaration
<PermissionSetAttribute(SecurityAction.Demand, Name := "FullTrust")> _
Public Overrides Function GetView ( _
    viewPath As String _
) As DesignerHierarchicalDataSourceView
'Usage
Dim instance As SPSiteMapDataSourceDesigner
Dim viewPath As String
Dim returnValue As DesignerHierarchicalDataSourceView

returnValue = instance.GetView(viewPath)
[PermissionSetAttribute(SecurityAction.Demand, Name = "FullTrust")]
public override DesignerHierarchicalDataSourceView GetView(
    string viewPath
)

Parameters

  • viewPath
    Type: System.String

    A string that contains the XPath query for the part of the data source to retrieve.

Return Value

Type: System.Web.UI.Design.DesignerHierarchicalDataSourceView

Implements

IHierarchicalDataSourceDesigner.GetView(String)

See Also

Reference

SPSiteMapDataSourceDesigner Class

SPSiteMapDataSourceDesigner Members

Microsoft.SharePoint.WebControls Namespace