DisplayClaim.CreateDisplayClaimFromClaimType(String) Method

Definition

Creates a display claim from the specified claim type.

public:
 static System::IdentityModel::Metadata::DisplayClaim ^ CreateDisplayClaimFromClaimType(System::String ^ claimType);
public static System.IdentityModel.Metadata.DisplayClaim CreateDisplayClaimFromClaimType (string claimType);
static member CreateDisplayClaimFromClaimType : string -> System.IdentityModel.Metadata.DisplayClaim
Public Shared Function CreateDisplayClaimFromClaimType (claimType As String) As DisplayClaim

Parameters

claimType
String

The URI that represents the claim type.

Returns

Returns DisplayClaim.

Remarks

The DisplayTag and Description properties are set to default values based on the specified claim type. If default values do not exist for the properties, they are set to null.

Applies to