| JVMBridgeBaseWrapsDirectTNewClass Method |
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax public static TNewClass WrapsDirect<TNewClass>(
IJavaObject javaObject
)
where TNewClass : new(), IJVMBridgeBase
Public Shared Function WrapsDirect(Of TNewClass As {New, IJVMBridgeBase}) (
javaObject As IJavaObject
) As TNewClass
Parameters
- javaObject IJavaObject
- The IJavaObject to be wrapped from TNewClass
Type Parameters
- TNewClass
- The class implementing IJVMBridgeBase
Return Value
TNewClassAn newly initialized
TNewClassSee Also