/
GetStringSetting Method

GetStringSetting Method

Gets a string value from the NodeSettings dictionary by setting name.

public string GetStringSetting(string name)

Classes: Settings


Parameters

value name

Setting name corresponding with the dictionary key inside of NodeSettings

Returns

String

A string value


Example

The following example demonstrates getting a string value from a string setting.

var stringSetting = Settings.GetStringSetting("String Setting");

Remarks

Throws a KeyNotFoundException if no setting exists by the parameter name.

Throws an InvalidCastException if the target setting is not of SettingType.String.

Related content

GetSetting Method
GetSetting Method
More like this
GetListSetting Method
GetListSetting Method
More like this
GetBooleanSetting Method
GetBooleanSetting Method
More like this
Settings Class
Settings Class
More like this
Setting Class
Setting Class
More like this
GetEngineConfigSetting Method
GetEngineConfigSetting Method
More like this