Metoda AggregationCollection.Insert (Int32, Aggregation)
Wstawia Aggregation do kolekcja pod określonym indeksem.
Przestrzeń nazw: Microsoft.AnalysisServices
Zestaw: Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)
Składnia
'Deklaracja
Public Sub Insert ( _
index As Integer, _
item As Aggregation _
)
'Użycie
Dim instance As AggregationCollection
Dim index As Integer
Dim item As Aggregation
instance.Insert(index, item)
public void Insert(
int index,
Aggregation item
)
public:
void Insert(
int index,
Aggregation^ item
)
member Insert :
index:int *
item:Aggregation -> unit
public function Insert(
index : int,
item : Aggregation
)
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym nowy Aggregation będą wstawiane.
- item
Typ: Microsoft.AnalysisServices.Aggregation
Aggregation Do wstawienia.
Wyjątki
Wyjątek | Warunek |
---|---|
ArgumentOutOfRangeException | indexjest mniejszy od zera. - lub - indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count]. |
Zobacz także