SPHierarchyDataView.Name property

Gets the name or data path of the data view.

Namespace:  Microsoft.SharePoint.Navigation
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property Name As String
    Get
'Usage
Dim instance As SPHierarchyDataView
Dim value As String

value = instance.Name
public string Name { get; }

Property value

Type: System.String
The name of the SPHierarchyDataView object.

Remarks

A Module Element (Module) can be thought of as a file set. When defining a File Element (Module) within a module, the Name element can optionally be included to associate the data view with the Path attribute that is used to define source directories.

The default value is Empty.

See also

Reference

SPHierarchyDataView class

SPHierarchyDataView members

Microsoft.SharePoint.Navigation namespace

DataSourceView

HierarchicalDataSourceView