共用方式為


ConsoleFormatterOptions.TimestampFormat 屬性

定義

取得或設定用來格式化記錄訊息中時間戳的格式字串。

public:
 property System::String ^ TimestampFormat { System::String ^ get(); void set(System::String ^ value); };
public string? TimestampFormat { get; set; }
member this.TimestampFormat : string with get, set
Public Property TimestampFormat As String

屬性值

表示時間戳格式的字串。 預設值為 null

適用於