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

# IPluginSettings TryGetValue TValue Method (String)

Get value by its key.

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

    TValue TryGetValue<TValue>(
    	string key
    )

#### Parameters

key
  Type: System
  String
  Key of setting.

#### Type Parameters

TValue
  Return type of value.

#### Return Value

Type: TValue
Value of setting or null if none specified.
See Also

#### Reference

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