FieldAccessorSetStaticValueTField Method
Sets the strongly typed value of a static field. If the type of the field is not known at compile time
the non-generic
Set method can be used.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public void SetStaticValue<TField>(
TField value
)
Public Sub SetStaticValue(Of TField) (
value As TField
)
public:
generic<typename TField>
void SetStaticValue(
TField value
)
member SetStaticValue :
value : 'TField -> unit
- value TField
- The value to set.
- TField
- The type of the field.