Proprietà ImpactDetailCollection.Item
Gets the ImpactDetail at the specified index from the collection.
Spazio dei nomi Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Sintassi
'Dichiarazione
Public Default Property Item ( _
index As Integer _
) As ImpactDetail
Get
Set
'Utilizzo
Dim instance As ImpactDetailCollection
Dim index As Integer
Dim value As ImpactDetail
value = instance(index)
instance(index) = value
public ImpactDetail this[
int index
] { get; set; }
public:
property ImpactDetail^ default[int index] {
ImpactDetail^ get (int index);
void set (int index, ImpactDetail^ value);
}
member Item : ImpactDetail with get, set
JScript supporta l'utilizzo di proprietà indicizzate, ma non la dichiarazione di nuove proprietà.
Parametri
- index
Tipo: System.Int32
The zero-based index of the ImpactDetail to be returned.
Valore proprietà
Tipo: Microsoft.AnalysisServices.ImpactDetail
The ImpactDetail at the specified index.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |