System.Convert.ToBoolean Method

Calling this method always throws InvalidCastException.

Syntax

public static bool ToBoolean (DateTime value)

Parameters

value
The date and time value to convert.

Returns

This conversion is not supported. No value is returned.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0