Udostępnij przez


Właściwość DataItem.Format

Pobiera lub ustawia właściwość formatowania dla DataItem wartości.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")> _
Public Property Format As String
    Get
    Set
'Użycie
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)

Wartość właściwości

Typ: System.String
A system.ciąg z wartością formatowania.

Uwagi

Przycinanie jest tylko formatowanie włączona w bieżącej wersja programu SQL Server Analysis Services.

Obsługiwany format wartości są TrimRight, TrimLeft, TrimAll, i TrimNone.

Wartością domyślną jest TrimRight.