語言

ClaimTypeElement.ClaimType 屬性

定義

取得或設定一個統一資源識別碼(URI)的字串表示,以指定權利要求的類型。

public:
 property System::String ^ ClaimType { System::String ^ get(); void set(System::String ^ value); };
[System.Configuration.ConfigurationProperty("claimType", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)]
[System.Configuration.StringValidator(MinLength=0)]
public string ClaimType { get; set; }
[<System.Configuration.ConfigurationProperty("claimType", DefaultValue="", Options=System.Configuration.ConfigurationPropertyOptions.IsKey | System.Configuration.ConfigurationPropertyOptions.IsRequired)>]
[<System.Configuration.StringValidator(MinLength=0)>]
member this.ClaimType : string with get, set
Public Property ClaimType As String

屬性值

一個統一資源識別碼(URI),用來指定權利要求的類型。

屬性

備註

預先定義的權利要求類型可作為類別的 ClaimTypes 靜態屬性提供。

適用於