| IJVMWrapperDirectCastTo(IJavaObjectBase, String, Boolean) Method |
Converts the origin in the instance defined from className
Namespace: MASES.JCOBridge.C2JBridge.JVMInteropAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax IJavaObjectBase CastTo(
IJavaObjectBase origin,
string className,
bool bypassConvertibilityCheck = false
)
Function CastTo (
origin As IJavaObjectBase,
className As String,
Optional bypassConvertibilityCheck As Boolean = false
) As IJavaObjectBase
Parameters
- origin IJavaObjectBase
- The IJavaObjectBase to convert
- className String
- The class name to convert to
- bypassConvertibilityCheck Boolean (Optional)
- Default is , set to to verify convertibility
Return Value
IJavaObjectBaseThe
IJavaObjectBase converted instance
Remarks See Also