Udostępnij za pośrednictwem


Metoda PerspectiveCalculationCollection.Insert (Int32, PerspectiveCalculation)

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

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

Parametry

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

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