Поделиться через


JniRuntime.JniValueManager.GetValue Метод

Определение

Перегрузки

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

Возвращаемое значение

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к

GetValue<T>(IntPtr)

public T GetValue<T> (IntPtr handle);
member this.GetValue : nativeint -> 'T

Параметры типа

T

Параметры

handle
IntPtr

nativeint

Возвращаемое значение

T

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к

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

Возвращаемое значение

T

Комментарии

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к