Aracılığıyla paylaş


PartitionCollection.Move Yöntemi (Partition, Int32)

Hareket bir Partition 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 Partition, _
    toIndex As Integer _
)
'Kullanım
Dim instance As PartitionCollection
Dim item As Partition
Dim toIndex As Integer

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

Parametreler

  • toIndex
    Tür: System.Int32
    Taşımak için sıfır tabanlı dizin Partition 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.