UserExtensionStorageHelper.TryRead<TValue>(String, TValue) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.