|
SettingsBaseDeriveDefaultValue Method
|
Attempts to get best default value for given member.
Namespace: GSF.ConfigurationAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntaxfunction DeriveDefaultValue(name, value);
View SourceParameters
- name String
- Field or property name.
- value Object
- Current field or property value.
Return Value
ObjectThe object that is the best default value.
Remarks
If
value is equal to its default(type) value, then any value derived from
DefaultValueAttribute will be used instead.
See Also