JniRuntime.JniValueManager.CreateValue 方法

定义

重载

CreateValue(JniObjectReference, JniObjectReferenceOptions, Type)
CreateValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

CreateValue(JniObjectReference, JniObjectReferenceOptions, Type)

public object? CreateValue (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.CreateValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj

参数

reference
JniObjectReference
targetType
Type

返回

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于

CreateValue<T>(JniObjectReference, JniObjectReferenceOptions, Type)

public T CreateValue<T> (ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type? targetType = default);
member this.CreateValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> 'T

类型参数

T

参数

reference
JniObjectReference
targetType
Type

返回

T

注解

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于