GetValueResult.ResultCode 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回指示请求状态的结果代码。
public Android.Service.Settings.Preferences.GetValueResultType ResultCode { [Android.Runtime.Register("getResultCode", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getResultCode", "()I", "", ApiSince=36)>]
member this.ResultCode : Android.Service.Settings.Preferences.GetValueResultType
属性值
值为下列值之一:RESULT_OK;RESULT_UNSUPPORTED;RESULT_UNAVAILABLE;RESULT_REQUIRE_APP_PERMISSION;RESULT_DISALLOW;RESULT_INVALID_REQUEST;RESULT_INTERNAL_ERROR
- 特性
注解
返回指示请求状态的结果代码。
Java文档android.service.settings.preferences.GetValueResult.getResultCode()。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。