Udostępnij za pośrednictwem


Metoda PerspectiveMeasureGroupCollection.Insert (Int32, PerspectiveMeasureGroup)

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

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

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

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