JniRuntime.JniValueManager.GetValue 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetValue(JniObjectReference, JniObjectReferenceOptions, Type) | |
GetValue<T>(IntPtr) | |
GetValue<T>(JniObjectReference, JniObjectReferenceOptions, Type) |
GetValue(JniObjectReference, JniObjectReferenceOptions, Type)
public object? GetValue (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.GetValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj
参数
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
返回
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。
适用于
GetValue<T>(IntPtr)
GetValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)
public T GetValue<T> (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.GetValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> 'T
类型参数
- T
参数
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
返回
T
注解
本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。