JniRuntime.ReflectionJniValueManager.GetValueCore 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| GetValueCore(JniObjectReference, JniObjectReferenceOptions, Type) | |
| GetValueCore<T>(JniObjectReference, JniObjectReferenceOptions, Type) |
GetValueCore(JniObjectReference, JniObjectReferenceOptions, Type)
protected override object? GetValueCore(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
override this.GetValueCore : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj
参数
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
返回
适用于
GetValueCore<T>(JniObjectReference, JniObjectReferenceOptions, Type)
protected override T GetValueCore<T>(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
override this.GetValueCore : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> 'T
类型参数
- T
参数
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
返回
T