IRegistry GetValueAsString T  Method A Sandcastle Documented Class Library
Gets a value from the registry, stored as a string.

Namespace: Censitif.Library.Data
Assembly: Censitif.Library (in Censitif.Library.dll) Version: 1.0.4878.23877
Syntax

T GetValueAsString<T>(
	string key,
	T defaultValue,
	Func<string, T> parse
)

Parameters

key
Type: System String
The registry field.
defaultValue
Type: T
The default value.
parse
Type: System Func String, T 
The function that converts a string into an object of type T.
Type Parameters

T
The type of the item to read.

Return Value

Type: T
The requested object, or the given default value if not found.
See Also