JniRuntime.ReflectionJniValueManager.CreateNonArrayListValue 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.
Rejects non-array Java list conversion in the default implementation.
protected virtual object? CreateNonArrayListValue(ref Java.Interop.JniObjectReference reference, Java.Interop.JniObjectReferenceOptions options, Type targetType);
abstract member CreateNonArrayListValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj
override this.CreateNonArrayListValue : JniObjectReference * Java.Interop.JniObjectReferenceOptions * Type -> obj
Parameters
- reference
- JniObjectReference
The non-array Java list reference subject to transfer handling.
- options
- JniObjectReferenceOptions
Source-reference transfer options applied before failure.
- targetType
- Type
The requested managed list type.
Returns
No value is returned; the implementation throws InvalidCastException.
Remarks
Applies source disposal according to options before throwing. Derived managers can override this hook to support Java lists.