| JVMBridgeBaseTClassSSetFieldTValue(IJavaType, String, TValue) Method |
Sets the value of a static field on clazz identified by fieldName
Namespace: MASES.JCOBridge.C2JBridgeAssembly: C2JBridge (in C2JBridge.dll) Version: 2.5.21.241219-a6a144ea07c497c3a9a1be842408e852afb458be
Syntax public static void SSetField<TValue>(
IJavaType clazz,
string fieldName,
TValue val
)
Public Shared Sub SSetField(Of TValue) (
clazz As IJavaType,
fieldName As String,
val As TValue
)
Parameters
- clazz IJavaType
- The IJavaType where the field shall be set
- fieldName String
- The field name to set
- val TValue
- The value to set on the field
Type Parameters
- TValue
- A type inherited from IJVMBridgeBase, IJavaObject, Enum or primitive types
See Also