MockContext.IsDeviceProtectedStorage 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
丟棄 UnsupportedOperationException 而不是提供儲存保護狀態。 測試時會覆寫這個屬性。
public override bool IsDeviceProtectedStorage { [Android.Runtime.Register("isDeviceProtectedStorage", "()Z", "GetIsDeviceProtectedStorageHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("isDeviceProtectedStorage", "()Z", "GetIsDeviceProtectedStorageHandler", ApiSince=24)>]
member this.IsDeviceProtectedStorage : bool
屬性值
預設的模擬不會提供任何價值。 其 getter 擲 UnsupportedOperationException出 ;覆蓋此性質以供應儲存保護狀態。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。