Click or drag to resize

IJavaObjectBaseToPrimitiveTReturn Method

Converts this IJavaObjectBase to a primitive value.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntax
TReturn ToPrimitive<TReturn>()

Type Parameters

TReturn
The primitive type to be returned.

Return Value

TReturn
This instance converted to TReturn.
Exceptions
ExceptionCondition
InvalidOperationException Thrown by IJavaObject implementations when the underlying JVM type is not convertible to TReturn. Not meaningful when called on an IJavaArray instance.
See Also