语言

JniRuntime.ReflectionJniValueManager.GetValueCore 方法

定义

重载

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
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
targetType
Type

返回

T

适用于