Claim.Value Property

.NET Framework (current version)

Gets the value of the claim.

Namespace:   System.Security.Claims
Assembly:  mscorlib (in mscorlib.dll)

public string Value { get; }

Property Value

Type: System.String

The claim value.

The value of a claim is represented only as a string. For more complex value types, it is recommended that you use standard XML schema types to indicate how the value is meant to be serialized and deserialized to and from a string.

The ValueType property provides the underlying syntactic type information about the value. The Type property provides the semantic information about the value; that is, it provides the meaning of the value and tells a claim consumer how to interpret it.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.5
Return to top