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