DisplayClaim.CreateDisplayClaimFromClaimType(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.