Click or drag to resize

SettingsBaseGetSettingName Method

Gets setting name to use for specified field or property.

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

Parameters

name  String
Field or property name.

Return Value

String
Name applied to specified field or property; or name if attribute does not exist.
Exceptions
ExceptionCondition
ArgumentExceptionname cannot be null or empty.
Remarks
Field or property name will be used for setting name unless user applied a SettingNameAttribute on the field or property to override name used to serialize value in configuration file.
See Also