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
- index
Typ: System.Int32
Od zera indeksu, w którym chcesz wstawić nowy PerspectiveMeasureGroup.
- item
Typ: Microsoft.AnalysisServices.PerspectiveMeasureGroup
PerspectiveMeasureGroup Do wstawiania.
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