GenericDocument.GetPropertyBooleanArray(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過路徑取得重複的 boolean 性質。
[Android.Runtime.Register("getPropertyBooleanArray", "(Ljava/lang/String;)[Z", "GetGetPropertyBooleanArray_Ljava_lang_String_Handler", ApiSince=31)]
public virtual bool[]? GetPropertyBooleanArray(string path);
[<Android.Runtime.Register("getPropertyBooleanArray", "(Ljava/lang/String;)[Z", "GetGetPropertyBooleanArray_Ljava_lang_String_Handler", ApiSince=31)>]
abstract member GetPropertyBooleanArray : string -> bool[]
override this.GetPropertyBooleanArray : string -> bool[]
參數
- path
- String
該尋找的道路。
傳回
Boolean[]
boolean[]與給定路徑相關聯,或null若未設定值或值類型不同。
- 屬性
備註
透過路徑取得重複的 boolean 性質。
詳見 #getProperty 路徑語法的說明。
若該性質未透過 Builder#setPropertyBoolean設定,則該方法回傳 null。
若已設定 Builder#setPropertyBoolean 為空 boolean[],此方法回傳空 boolean[]。
Java 文件 android.app.appsearch.GenericDocument.getPropertyBooleanArray(java.lang.String)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。