Condividi tramite


Proprietà Item (String)

Gets the AggregationInstance, 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 ( _
    id As String _
) As AggregationInstance
    Get
'Utilizzo
Dim instance As AggregationInstanceCollection
Dim id As String
Dim value As AggregationInstance

value = instance(id)
public AggregationInstance this[
    string id
] { get; }
public:
property AggregationInstance^ default[String^ id] {
    AggregationInstance^ get (String^ id);
}
member Item : AggregationInstance
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.

Parametri

Valore proprietà

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

Eccezioni

Eccezione Condizione
ArgumentNullException

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

ItemNotFoundException

id does not exist in the collection.