RangeTemplate.FormatString 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得用來顯示當前值的 Java 格式字串。
public string? FormatString { get; }
member this.FormatString : string
屬性值
的文本 FormatStringFormatted,或 null 若該性質為 null。
備註
這就是 的 FormatStringFormatted字串形式。 以空格式參數構建的範本使用 %.1f。 此格式遵循 Java 格式規則,而非 .NET 複合格式。