JniRuntime.JniValueManager.GetValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
GetValue<T>(IntPtr)
public T GetValue<T> (IntPtr handle);
member this.GetValue : nativeint -> 'T
Type Parameters
- T
Parameters
- handle
-
IntPtr
nativeint
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
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
Type Parameters
- T
Parameters
- reference
- JniObjectReference
- options
- JniObjectReferenceOptions
- targetType
- Type
Returns
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.