Saml2Attribute.Name Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the name of the attribute. [Saml2Core,]

Namespace:   System.IdentityModel.Tokens
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public string Name { get; set; }

Property Value

Type: System.String

A string that contains the attribute name.

Exception Condition

An attempt to set a value that is null or an empty string occurs.

The Name attribute. This attribute is required.

.NET Framework
Available since 4.5
Return to top