AuthenticationProperties.GetBool(String) 方法

定義

從集合取得可為 Boolean Null 的 Items

protected:
 Nullable<bool> GetBool(System::String ^ key);
protected bool? GetBool (string key);
member this.GetBool : string -> Nullable<bool>
Protected Function GetBool (key As String) As Nullable(Of Boolean)

參數

key
String

屬性索引鍵。

傳回

擷取的值,如果 null 屬性未設定,則為 。

適用於