DisplayClaim Class

.NET Framework (current version)
 

Represents the displayable claim object.

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

System.Object
  System.IdentityModel.Metadata.DisplayClaim

public class DisplayClaim

NameDescription
System_CAPS_pubmethodDisplayClaim(String)

Initializes a new instance of the DisplayClaim class that has the specified claim type.

System_CAPS_pubmethodDisplayClaim(String, String, String)

Initializes a new instance of the DisplayClaim class that has the specified claim type, display name, and description.

System_CAPS_pubmethodDisplayClaim(String, String, String, String)

Initializes a new instance of the DisplayClaim class that has the specified claim type, display name, display value, and description. The claim is required.

System_CAPS_pubmethodDisplayClaim(String, String, String, String, Boolean)

Initializes a new instance of the DisplayClaim class that has the specified claim type, display name, display value, description, and optional attribute.

NameDescription
System_CAPS_pubpropertyClaimType

Gets the claim type associated with the display claim.

System_CAPS_pubpropertyDescription

Gets or sets a description for the display claim.

System_CAPS_pubpropertyDisplayTag

Gets or sets the friendly name for the display claim.

System_CAPS_pubpropertyDisplayValue

Gets or sets a displayable value for the display claim.

System_CAPS_pubpropertyOptional

Gets or sets the optional attribute for the display claim

System_CAPS_pubpropertyWriteOptionalAttribute

Gets or sets a value that indicates whether the optional attribute will be serialized.

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticCreateDisplayClaimFromClaimType(String)

Creates a display claim from the specified claim type.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

Usually, the display tag (the DisplayTag property) and the description (the Description property) are localized. The ClaimType property identifies different claim types. The display value (the DisplayValue property) is the string representation of the claim.Resource.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: