Edit

Share via


IFormatterConverter.ToDateTime(Object) Method

Definition

Converts a value to a DateTime.

public:
 DateTime ToDateTime(System::Object ^ value);
public DateTime ToDateTime (object value);
abstract member ToDateTime : obj -> DateTime
Public Function ToDateTime (value As Object) As DateTime

Parameters

value
Object

The object to be converted.

Returns

The converted value.

Applies to