DateTimeFormatter.IncludeSecond 属性

定义

获取模板中的 SecondFormat

public:
 property SecondFormat IncludeSecond { SecondFormat get(); };
SecondFormat IncludeSecond();
public SecondFormat IncludeSecond { get; }
var secondFormat = dateTimeFormatter.includeSecond;
Public ReadOnly Property IncludeSecond As SecondFormat

属性值

指定是否包含第二个。 如果是,则此属性指定模板中第二个的格式。

适用于