DateTimeFormat.FormatString 屬性

定義

取得格式字串,以控制日期或時間以字串表示時產生的格式。

public:
 property System::String ^ FormatString { System::String ^ get(); };
public string FormatString { get; }
member this.FormatString : string
Public ReadOnly Property FormatString As String

屬性值

當日期或時間以字串表示時,格式字串用來控制格式。

適用於