语言

StringType.FromDate(DateTime) 方法

定义

返回对应于 String 指定日期的值。

此 API 支持产品基础结构,不能在代码中直接使用。

public:
 static System::String ^ FromDate(DateTime Value);
public static string FromDate(DateTime Value);
static member FromDate : DateTime -> string
Public Shared Function FromDate (Value As DateTime) As String
Public Function FromDate (Value As DateTime) As String

参数

Value
DateTime

必填。 要转换为 String 值的日期。

返回

与 StringValue. 对应的值。

注解

此类支持 Visual Basic 编译器,不打算直接从代码使用。

适用于