|
<< Click to Display Table of Contents >> Navigation: Reference > BNCS Namespace > BaseSettingsElement Class > BaseSettingsElement Methods > GetSetting Method > BaseSettingsElement.GetSetting Method (String, String) |
Retrieves a setting value based on the provided SettingId. If the setting is not found, the defaultValue is returned.
Namespace: BNCS
Assembly: BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)
public string GetSetting(
string SettingId,
string defaultValue
)
SettingId
Type: String
The unique identifier of the setting to retrieve
defaultValue
Type: String
The default value to return if the setting is not found
The value of the setting if found, otherwise the defaultValue