Metoda MeasureGroupAttributeCollection.Insert (Int32, MeasureGroupAttribute)
Wstawia MeasureGroupAttribute 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 MeasureGroupAttribute _
)
'Użycie
Dim instance As MeasureGroupAttributeCollection
Dim index As Integer
Dim item As MeasureGroupAttribute
instance.Insert(index, item)
public void Insert(
int index,
MeasureGroupAttribute item
)
public:
void Insert(
int index,
MeasureGroupAttribute^ item
)
member Insert :
index:int *
item:MeasureGroupAttribute -> unit
public function Insert(
index : int,
item : MeasureGroupAttribute
)
Parametry
- index
Typ: System.Int32
Od zera indeksu, w którym chcesz wstawić nowy MeasureGroupAttribute.
- item
Typ: Microsoft.AnalysisServices.MeasureGroupAttribute
MeasureGroupAttribute 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