Aracılığıyla paylaş


ActionCollection.Move Yöntemi (Action, Int32)

Hareket bir Action içinde yeni bir dizin için koleksiyon.

Ad Alanı:  Microsoft.AnalysisServices
Derleme:  Microsoft.AnalysisServices (Microsoft.AnalysisServices içinde.dll)

Sözdizimi

'Bildirim
Public Sub Move ( _
    item As Action, _
    toIndex As Integer _
)
'Kullanım
Dim instance As ActionCollection
Dim item As Action
Dim toIndex As Integer

instance.Move(item, toIndex)
public void Move(
    Action item,
    int toIndex
)
public:
void Move(
    Action^ item, 
    int toIndex
)
member Move : 
        item:Action * 
        toIndex:int -> unit 
public function Move(
    item : Action, 
    toIndex : int
)

Parametreler

  • toIndex
    Tür: System.Int32
    Taşımak için sıfır tabanlı dizin Action tarafından belirtilen item.

Kural dışı durumlar

Özel durum Koşul
ArgumentOutOfRangeException

toIndexsıfırdan küçük.

- veya -

toIndex' e eşit veya daha büyük [H:Microsoft.AnalysisServices.ModelComponentCollection.Count].

- veya -

itemkoleksiyon tarafından yer alıyor.