BaseSettingsElement.TryGetSetting<T> Method (String, T)

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

BaseSettingsElement.TryGetSetting<T> Method (String, T)

<< Click to Display Table of Contents >>
Navigation:  »No topics above this level«
BaseSettingsElement.TryGetSetting<T> Method (String, T)


Tries to get the setting value for the specified SettingId.

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

 

Syntax


public bool TryGetSetting<T>(
string SettingId,
out T value
)

Type Parameters

T

The type of the setting value.

Parameters

SettingId

Type: String

The identifier of the setting.

value

Type: T

The output parameter to store the setting value.

Return Value

True if the setting value was successfully retrieved, false otherwise.

 

See Also


BaseSettingsElement Class

TryGetSetting Overload

BNCS Namespace