Settings.System.GetConfiguration(ContentResolver, Configuration) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
方便函数将所有当前配置相关设置读取到对象 Configuration 中。
[Android.Runtime.Register("getConfiguration", "(Landroid/content/ContentResolver;Landroid/content/res/Configuration;)V", "")]
public static void GetConfiguration(Android.Content.ContentResolver? cr, Android.Content.Res.Configuration? outConfig);
[<Android.Runtime.Register("getConfiguration", "(Landroid/content/ContentResolver;Landroid/content/res/Configuration;)V", "")>]
static member GetConfiguration : Android.Content.ContentResolver * Android.Content.Res.Configuration -> unit
参数
要访问的 ContentResolver。
- outConfig
- Configuration
放置配置设置的位置。
- 特性
注解
方便函数将所有当前配置相关设置读取到对象 Configuration 中。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。