IFormatterConverter.ToDateTime(Object) 方法

定義

將值轉換成 DateTimeConverts 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

參數

value
Object

要轉換的物件。The object to be converted.

傳回

已轉換的 valueThe converted value.

適用於