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.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
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