iikoFront Api V8 Code Reference
iikoFront Api V8 Code Reference
Resto.Front.Api.Data.Settings
IPluginSettings Interface
IPluginSettings Methods
TryGetValue Method
TryGetValue(TSetting, TValue) Method (String)
TryGetValue(TValue) Method (String)

# IPluginSettings TryGetValue TSetting, TValue Method (String)

Get value specified for TSettings<TValue> by its key.

Namespace: Resto.Front.Api.Data.Settings
Assembly: Resto.Front.Api.V8 (in Resto.Front.Api.V8.dll) Version: 1ca4876affdd3bc5359a98b321fc115a647d2251
Syntax
C#
Copy

    TValue TryGetValue<TSetting, TValue>(
    	string key
    )
    where TSetting : BaseSetting<TValue>

#### Parameters

key
  Type: System
  String
  Key of setting.

#### Type Parameters

TSetting
  Type of setting.
TValue
  Return type of value.

#### Return Value

Type: TValue
Value of setting or default(TValue) if none specified.
See Also

#### Reference

IPluginSettings Interface
TryGetValue Overload
Resto.Front.Api.Data.Settings Namespace