Click or drag to resize
Cimbalino ToolkitApplicationSettingsServiceHandlerGetT Method (String, T)
Gets the value associated with the specified key.

Namespace: Cimbalino.Toolkit.Services
Assembly: Cimbalino.Toolkit.Core (in Cimbalino.Toolkit.Core.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public virtual T Get<T>(
	string key,
	T defaultValue
)

Parameters

key
Type: SystemString
The key whose value to get.
defaultValue
Type: T
The default value to return if the key does not exist.

Type Parameters

T
The type of value to get.

Return Value

Type: T
The value associated with the specified key, if the key is found; otherwise, the specified default value.

Implements

IApplicationSettingsServiceHandlerGetT(String, T)
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also