| 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.10.240120-2a3d9d79d92bde9fdf6d46131ee31d20c12fe372
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