| JVMBridgeBaseWrapsTReturn(Type, IJavaObject, String) Method |
Wraps the javaObject with a new type class
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
Syntax public static TReturn Wraps<TReturn>(
Type type,
IJavaObject javaObject,
string className
)
Public Shared Function Wraps(Of TReturn) (
type As Type,
javaObject As IJavaObject,
className As String
) As TReturn
Parameters
- type Type
- The Type implementing IJVMBridgeBase to be instantiated
- javaObject IJavaObject
- The BridgeInstance to be used
- className String
- The name of destination class, null or empty to do not apply class name change
Type Parameters
- TReturn
- The return type extended or implmeneted from type: in some condition can be helpful to return a different TReturn
Return Value
TReturnAn newly initialized
TReturnSee Also