Share via


DataItem.Format Property

Definition

Gets or sets the formatting property for DataItem values.

[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

Property Value

A string with the formatting value.

Attributes

Remarks

Trimming is the only formatting enabled in the current version of SQL Server Analysis Services. The supported format values are TrimRight, TrimLeft, TrimAll, and TrimNone. Default value is TrimRight.

Applies to