Udostępnij za pośrednictwem


Metoda GroupCollection.Insert

Wstawia Group 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 Group _
)
'Użycie
Dim instance As GroupCollection
Dim index As Integer
Dim item As Group

instance.Insert(index, item)
public void Insert(
    int index,
    Group item
)
public:
void Insert(
    int index, 
    Group^ item
)
member Insert : 
        index:int * 
        item:Group -> unit 
public function Insert(
    index : int, 
    item : Group
)

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

indexjest równa lub większa niż [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].