語言

JniRuntime.JniValueManager.CreateValue 方法

定義

多載

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

傳回

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

備註

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於