Share via


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