| JVMBridgeBaseWrapsTNewClass, TReturn(IJavaObject) Method |
Wraps the javaObject with a new TNewClass class
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax public static TReturn Wraps<TNewClass, TReturn>(
IJavaObject javaObject
)
Public Shared Function Wraps(Of TNewClass, TReturn) (
javaObject As IJavaObject
) As TReturn
Parameters
- javaObject IJavaObject
- The BridgeInstance to be used
Type Parameters
- TNewClass
- The class implementing IJVMBridgeBase
- TReturn
- The return type: in some condition can be helpful to return a different TReturn
Return Value
TReturnAn newly initialized
TReturnSee Also