Click or drag to resize

JVMBridgeBaseTClassSGetFieldTReturn(IJavaType, String) Method

Gets the value of a static field on clazz identified by fieldName

Namespace: MASES.JCOBridge.C2JBridge
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.5.12.240512-4d4b2fafd3df13602ccdeccef07b026ccf8b47b0
Syntax
public static TReturn SGetField<TReturn>(
	IJavaType clazz,
	string fieldName
)

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

TReturn
The field value
See Also