共用方式為


DataItem.Format 屬性

定義

取得或設定 DataItem 值的格式屬性。

[System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design.AS")]
public string Format { get; set; }
[<System.ComponentModel.TypeConverter("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design.AS")>]
member this.Format : string with get, set
Public Property Format As String

屬性值

具有格式化值的字串。

屬性

備註

修剪是在目前版本的 SQL Server Analysis Services 中啟用的唯一格式設定。 支援的格式值為 TrimRight、TrimLeft、TrimAll 和 TrimNone。 預設值為 TrimRight。

適用於