语言

ISharedPreferences.All 属性

定义

从首选项中检索所有值。

public System.Collections.Generic.IDictionary<string,object>? All { [Android.Runtime.Register("getAll", "()Ljava/util/Map;", "GetGetAllHandler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")] get; }
[<get: Android.Runtime.Register("getAll", "()Ljava/util/Map;", "GetGetAllHandler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
member this.All : System.Collections.Generic.IDictionary<string, obj>

属性值

返回一个映射,其中包含表示首选项的对键/值列表。

属性

例外

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

Java文档android.content.SharedPreferences.getAll()。

适用于