Edit

Share via


UserExtensionStorageHelper.TryRead<TValue>(String, TValue) Method

Definition

Retrieves a single item by its key.

public bool TryRead<TValue>(string key, out TValue value);
abstract member TryRead : string * 'Value -> bool
override this.TryRead : string * 'Value -> bool
Public Function TryRead(Of TValue) (key As String, ByRef value As TValue) As Boolean

Type Parameters

TValue

Type of object retrieved.

Parameters

key
String

Key of the object.

value
TValue

The object for key.

Returns

A boolean indicator of success.

Implements

Applies to