Compartir a través de


Item Propiedad (String)

Gets the Account, with the specified identifier, from the collection.

Espacio de nombres:  Microsoft.AnalysisServices
Ensamblado:  Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    accountType As String _
) As Account
    Get
'Uso
Dim instance As AccountCollection
Dim accountType As String
Dim value As Account

value = instance(accountType)
public Account this[
    string accountType
] { get; }
public:
property Account^ default[String^ accountType] {
    Account^ get (String^ accountType);
}
member Item : Account
JScript admite el uso de propiedades indizadas, pero no la declaración de otras nuevas.

Parámetros

Valor de la propiedad

Tipo: Microsoft.AnalysisServices. . :: . .Account
The Account specified by the identifier.

Excepciones

Excepción Condición
ArgumentNullException

accountType is a null reference (Nothing in Visual Basic).

ItemNotFoundException

accountType does not exist in the collection.