語言

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

適用於