Udostępnij przez


Metoda DataSourceViewCollection.Move (Int32, Int32)

Przesuwa DataSourceView pod określonym indeksem bieżących do nowego indeksu określone kolekcja.

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

Składnia

'Deklaracja
Public Function Move ( _
    fromIndex As Integer, _
    toIndex As Integer _
) As DataSourceView
'Użycie
Dim instance As DataSourceViewCollection
Dim fromIndex As Integer
Dim toIndex As Integer
Dim returnValue As DataSourceView

returnValue = instance.Move(fromIndex, _
    toIndex)
public DataSourceView Move(
    int fromIndex,
    int toIndex
)
public:
DataSourceView^ Move(
    int fromIndex, 
    int toIndex
)
member Move : 
        fromIndex:int * 
        toIndex:int -> DataSourceView 
public function Move(
    fromIndex : int, 
    toIndex : int
) : DataSourceView

Parametry

Wartość zwracana

Typ: Microsoft.AnalysisServices.DataSourceView
DataSourceView Mają być przeniesione.

Wyjątki

Wyjątek Warunek
ArgumentOutOfRangeException

fromIndexjest mniejszy od zera.

- lub -

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

- lub -

toIndexjest mniejszy od zera.

- lub -

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