編輯

共用方式為


ClaimTypeElement.IsOptional Property

Definition

Gets or sets a boolean value that specifies whether the claim is optional.

public:
 property bool IsOptional { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("isOptional", DefaultValue=false)]
public bool IsOptional { get; set; }
[<System.Configuration.ConfigurationProperty("isOptional", DefaultValue=false)>]
member this.IsOptional : bool with get, set
Public Property IsOptional As Boolean

Property Value

true if the claim is optional; otherwise, false.

Attributes

Applies to