Click or drag to resize

IJavaObjectGetField(String) Method

Reads the value of an instance field on the underlying JVM object.

Namespace: MASES.JCOBridge.C2JBridge.JVMInterop
Assembly: C2JBridge (in C2JBridge.dll) Version: 2.6.10.261112-5ffe0920c00dbac056780af7ab9b1978b26ef4a5
Syntax
Object GetField(
	string fieldName
)

Parameters

fieldName  String
The name of the Java instance field to read.

Return Value

Object
The field value as a boxed Object. Reference types are returned as IJavaObject instances; primitive types are boxed to their .NET equivalents.
Exceptions
ExceptionCondition
InvalidOperationException Thrown if no field named fieldName is found on the underlying Java class.
See Also