PropertyAccessorGetStaticValueTProperty Method
Gets 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 TProperty GetStaticValue<TProperty>()
Public Function GetStaticValue(Of TProperty) As TProperty
public:
generic<typename TProperty>
TProperty GetStaticValue()
member GetStaticValue : unit -> 'TProperty
- TProperty
- The type of the property.
TPropertyThe value of the property.