XsltConvert.ToDateTime(String) 方法
定义
将指定的值转换为 DateTime 值。Converts a specified value to a DateTime value.
此 API 支持产品基础结构,不能在代码中直接使用。
public:
static DateTime ToDateTime(System::String ^ value);
public static DateTime ToDateTime (string value);
static member ToDateTime : string -> DateTime
Public Shared Function ToDateTime (value As String) As DateTime
参数
- value
- String
一个 string 值。A string value.
返回
一个 DateTime 类型的值。A value of type DateTime.