次の方法で共有


DataItem.Format プロパティ

DataItem 値の書式設定プロパティを取得します。値の設定も可能です。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
<TypeConverterAttribute("Microsoft.AnalysisServices.Design.FormatConverter, Microsoft.AnalysisServices.Design")> _
Public Property Format As String 
    Get 
    Set
'使用
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)

プロパティ値

型: System.String
書式設定値を表す string です。

説明

SQL Server Analysis Service の現在のバージョンで有効な書式設定は、Trimming だけです。

サポートされる書式設定値は、TrimRight、TrimLeft、TrimAll、および TrimNone です。

既定値は TrimRight です。

関連項目

参照

DataItem クラス

Microsoft.AnalysisServices 名前空間