다음을 통해 공유


LevelHierarchyDataSource.GetView Method

Null implementation of the GetView method required to implement the IDataSource interface.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel := True)> _
Public Function GetView ( _
    viewName As String _
) As DataSourceView
'Usage
Dim instance As LevelHierarchyDataSource
Dim viewName As String
Dim returnValue As DataSourceView

returnValue = instance.GetView(viewName)
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel = true)]
public DataSourceView GetView(
    string viewName
)

Parameters

  • viewName
    Type: System.String

    The name of the view to get in an override method. Not required for null implementation.

Return Value

Type: System.Web.UI.DataSourceView
a null reference (Nothing in Visual Basic).

Implements

IDataSource.GetView(String)

Remarks

This function does not perform anything and exists only to support the DataFormWebPart.

See Also

Reference

LevelHierarchyDataSource Class

LevelHierarchyDataSource Members

Microsoft.SharePoint.Publishing.WebControls Namespace