Click or drag to resize

SettingsBaseGetDefaultValue Method

Gets the default value specified by DefaultValueAttribute, if any, applied to the specified field or property.

Namespace: GSF.Configuration
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntax
public Object GetDefaultValue(
	string name
)
View Source

Parameters

name  String
Field or property name.

Return Value

Object
Default value applied to specified field or property; or null if one does not exist.
Exceptions
ExceptionCondition
ArgumentExceptionname cannot be null or empty.
See Also