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