StringType.FromDate(DateTime) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳 String 一個對應指定日期的值。
此 API 支援此產品基礎結構,但無法直接用於程式碼之中。
public:
static System::String ^ FromDate(DateTime Value);
public static string FromDate(DateTime Value);
static member FromDate : DateTime -> string
Public Function FromDate (Value As DateTime) As String
Public Shared Function FromDate (Value As DateTime) As String
參數
- Value
- DateTime
必須的。 日期以轉換為某個 String 數值。
傳回
對應於的Value值。String
備註
這門課支援 Visual Basic 編譯器,並非直接從你的程式碼中使用。