Поделиться через


Поле AccountTypes.Liability

Represents a Liability account type.

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Const Liability As String
'Применение
Dim value As String 

value = AccountTypes.Liability
public const string Liability
public:
literal String^ Liability
static val mutable Liability: string
public const var Liability : String

Примеры

The following example in C# demonstrates how the class works.

SortedList<String, String> accountTypes = new SortedList<string, string>();
accountTypes.Add("Asset", AccountTypes.Asset);
accountTypes.Add("Balance", AccountTypes.Balance);
accountTypes.Add("Expense", AccountTypes.Expense);
accountTypes.Add("Flow", AccountTypes.Flow);
accountTypes.Add("Income", AccountTypes.Income);
accountTypes.Add("Liability", AccountTypes.Liability);
accountTypes.Add("Statistical", AccountTypes.Statistical);
foreach (String key in accountTypes.Keys)
{
    System.Diagnostics.Debug.WriteLine(key + " --> " + accountTypes[key]);
}

You should see the following results.

Asset --> Asset

Balance --> Balance

Expense --> Expense

Flow --> Flow

Income --> Income

Liability --> Liability

Statistical --> Statistical

The values in the right column represent the contents for each of the constant literals.

См. также

Справочник

AccountTypes Класс

Пространство имен Microsoft.AnalysisServices