Condividi tramite


Proprietà DataItem.Format

Gets or sets the formatting property for DataItem values.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")> _
Public Property Format As String 
    Get 
    Set
'Utilizzo
Dim instance As DataItem 
Dim value As String 

value = instance.Format

instance.Format = value
[TypeConverterAttribute("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")]
public string Format { get; set; }
[TypeConverterAttribute(L"Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")]
public:
property String^ Format {
    String^ get ();
    void set (String^ value);
}
[<TypeConverterAttribute("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")>]
member Format : string with get, set
function get Format () : String 
function set Format (value : String)

Valore proprietà

Tipo: System.String
A string with the formatting value.

Osservazioni

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.

Vedere anche

Riferimento

DataItem Classe

Spazio dei nomi Microsoft.AnalysisServices