XmlSerializationReader.ToDate(String) 方法

定義

從輸入字串產生 DateTime 物件。

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

protected:
 static DateTime ToDate(System::String ^ value);
protected static DateTime ToDate(string value);
static member ToDate : string -> DateTime
Protected Shared Function ToDate (value As String) As DateTime

參數

value
String

一個用來轉換成 DateTime 類別物件的字串。

傳回

DateTime 物件。

備註

XmlSerializationReader 的受保護成員僅供內部在 .NET Framework XML 序列化基礎架構中使用的衍生類別使用。

這個 ToDate 方法是靜態的。

適用於