 | JVMBridgeBaseTClassSGetFieldArrayTReturn(IJavaType, String) Method |
Reads the static field identified by fieldName on
clazz and returns its content as an array of TReturn.
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.6.9.260611-9a148513a79c26cdd7f1dde468f4f9e06ef3bc7e
Syntaxpublic static TReturn[] SGetFieldArray<TReturn>(
IJavaType clazz,
string fieldName
)
Public Shared Function SGetFieldArray(Of TReturn) (
clazz As IJavaType,
fieldName As String
) As TReturn()
Parameters
- clazz IJavaType
- The IJavaType on which the static field shall be read.
- fieldName String
- The name of the static field to read.
Type Parameters
- TReturn
- The expected element type of the returned array.
Can be a primitive type, a IJVMBridgeBase implementation, or
any other type compatible with the JVM array element type.
Return Value
TReturnAn array of
TReturn, or
if the field contains
or an empty JVM array reference.
See Also