FieldAccessorGetStaticValueTField Method
Gets the strongly typed value of a static field. If the type of the field is not known at compile time
the non-generic
Get method can be used.
Namespace: KGySoft.ReflectionAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public TField GetStaticValue<TField>()
Public Function GetStaticValue(Of TField) As TField
public:
generic<typename TField>
TField GetStaticValue()
member GetStaticValue : unit -> 'TField
- TField
- The type of the field.
TFieldThe value of the field.