| JVMBridgeBaseTClassSGetFieldTReturn(IJavaType, String) Method |
Gets the value of a static field on clazz identified by fieldName
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.13.240514-86ea0fe57add44a0d4dc719a1a99f3379a320f2e
Syntax public static TReturn SGetField<TReturn>(
IJavaType clazz,
string fieldName
)
Public Shared Function SGetField(Of TReturn) (
clazz As IJavaType,
fieldName As String
) As TReturn
Parameters
- clazz IJavaType
- The IJavaType where the field shall be get
- fieldName String
- The field name to get
Type Parameters
- TReturn
- The return type expected: a type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types
Return Value
TReturnThe field value
See Also