DisplayClaim Class

Definition

Represents the displayable claim object.

public ref class DisplayClaim
public class DisplayClaim
type DisplayClaim = class
Public Class DisplayClaim
Inheritance
DisplayClaim

Remarks

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.

Constructors

DisplayClaim(String)

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

DisplayClaim(String, String, String)

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

DisplayClaim(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.

DisplayClaim(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.

Properties

ClaimType

Gets the claim type associated with the display claim.

Description

Gets or sets a description for the display claim.

DisplayTag

Gets or sets the friendly name for the display claim.

DisplayValue

Gets or sets a displayable value for the display claim.

Optional

Gets or sets the optional attribute for the display claim.

WriteOptionalAttribute

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

Methods

CreateDisplayClaimFromClaimType(String)

Creates a display claim from the specified claim type.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to