Click or drag to resize

JVMBridgeBaseCastToTNewClass Method

Casts this IJVMBridgeBase object into TNewClass

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax
public TNewClass CastTo<TNewClass>()
where TNewClass : new(), IJVMBridgeBase

Type Parameters

TNewClass
The return type expected which implements IJVMBridgeBase

Return Value

TNewClass
The return value converted to TNewClass

Implements

IJVMBridgeBaseCastToTNewClass
Remarks
This method can checks the convertibility to TNewClass using CastTo(IJavaObjectBase, String, Boolean)
See Also