Condividi tramite


Proprietà AccountCollection.Item (String)

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

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

Sintassi

'Dichiarazione
Public ReadOnly Default Property Item ( _
    accountType As String _
) As Account 
    Get
'Utilizzo
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 supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

accountType does not exist in the collection.

Vedere anche

Riferimento

AccountCollection Classe

Overload Item

Spazio dei nomi Microsoft.AnalysisServices