| JVMBridgeBaseCastDirectTNewClass Method |
Simplified version of
CastToTNewClass which wraps this instance with a new
TNewClass class
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax public TNewClass CastDirect<TNewClass>()
where TNewClass : new(), IJVMBridgeBase
Public Function CastDirect(Of TNewClass As {New, IJVMBridgeBase}) As TNewClass
Type Parameters
- TNewClass
- The class implementing IJVMBridgeBase
Return Value
TNewClassAn newly initialized
TNewClassImplements
IJVMBridgeBaseCastDirectTNewClassRemarks Use this method with caution since no check on target TNewClass will be made
See Also