Share via


SPProviderHierarchyElement.Name property

Gets or sets the name for the element in the claims provider hierarchy tree.

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

Syntax

'Declaration
<DataMemberAttribute(Name := "Nm")> _
Public Property Name As String
    Get
    Set
'Usage
Dim instance As SPProviderHierarchyElement
Dim value As String

value = instance.Name

instance.Name = value
[DataMemberAttribute(Name = "Nm")]
public string Name { get; set; }

Property value

Type: System.String
The name of the element.

Exceptions

Exception Condition
ArgumentNullException

Name is a null reference (Nothing in Visual Basic).

Remarks

The name must not be a null reference (Nothing in Visual Basic).

See also

Reference

SPProviderHierarchyElement class

SPProviderHierarchyElement members

Microsoft.SharePoint.WebControls namespace