BaseSettingsElement.GetSetting<T> Method (String)

<< Click to Display Table of Contents >>

Navigation:  Reference > BNCS Namespace > BaseSettingsElement Class > BaseSettingsElement Methods > GetSetting Method  >

BaseSettingsElement.GetSetting<T> Method (String)

Retrieves a setting value of type T based on the provided SettingId.

Namespace: BNCS
Assembly:  BNCS.Core.DriverFramework (in BNCS.Core.DriverFramework.dll)

 

Syntax


public T GetSetting<T>(
 string SettingId
)

Type Parameters

T

The type of the setting value to retrieve.

Parameters

SettingId

Type: String
The unique identifier of the setting to retrieve.

Return Value

The setting value of type T if found, otherwise the default value of type T.

 

See Also


BaseSettingsElement Class

GetSetting Overload

BNCS Namespace