Udostępnij przez


Metoda PerspectiveCollection.Insert (Int32)

Tworzy i wstawia Perspective do kolekcja pod określonym indeksem.

Przestrzeń nazw:  Microsoft.AnalysisServices
Zestaw:  Microsoft.AnalysisServices (w Microsoft.AnalysisServices.dll)

Składnia

'Deklaracja
Public Function Insert ( _
    index As Integer _
) As Perspective
'Użycie
Dim instance As PerspectiveCollection
Dim index As Integer
Dim returnValue As Perspective

returnValue = instance.Insert(index)
public Perspective Insert(
    int index
)
public:
Perspective^ Insert(
    int index
)
member Insert : 
        index:int -> Perspective 
public function Insert(
    index : int
) : Perspective

Parametry

Wartość zwracana

Typ: Microsoft.AnalysisServices.Perspective
Nowy, pusty Perspective.

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

indexjest mniejszy od zera.

- lub -

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