Registry GetTimeSpan Method A Sandcastle Documented Class Library
Gets a timespan value from the registry.

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

public TimeSpan GetTimeSpan(
	string key,
	TimeSpan defaultValue
)

Parameters

key
Type: System String
The registry field.
defaultValue
Type: System TimeSpan
The default timespan, must not be null.

Return Value

Type: TimeSpan
The requested timespan, or the given default values if not found.

Implements

IRegistry GetTimeSpan(String, TimeSpan)
See Also