BuildMaster SDK Reference
Version:

ReadDateTime(string key) Method

Reads the value for the specified key using the Inedo.Configuration.Sources.IConfigSource returned from GetConfigSource and attempts to convert the result to a DateTime value.

Syntax

protected System.DateTime? ReadDateTime(string key)

Parameters

key
Type: string

Key of the value to read.

Returns

DateTime value if parsing was successful; otherwise null (Nothing in Visual Basic).