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