Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

IsolatedStorageSettings.TryGetValue<T> Method

Silverlight

Gets a value for the specified key.

Namespace:  System.IO.IsolatedStorage
Assembly:  System.Windows (in System.Windows.dll)
public bool TryGetValue<T>(
	string key,
	out T value
)

Type Parameters

T

The Type of the value parameter.

Parameters

key
Type: System.String
The key of the value to get.
value
Type: T%
When this method returns, the value associated with the specified key if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Return Value

Type: System.Boolean
true if the specified key is found; otherwise, false.
ExceptionCondition
ArgumentNullException

key is null.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.