| 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.17.240622-f0da58d62b7e98f73f32432917df8eb1a5f062a3
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