Saml2Attribute.Name Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

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

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
ArgumentNullException

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
Show: