Aracılığıyla paylaş


AggregationInstanceAttributeCollection.Move Yöntemi (AggregationInstanceAttribute, Int32)

Belirtilen hareket AggregationInstanceAttribute içinde yeni bir dizin konumuna koleksiyon.

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

Sözdizimi

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

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

Parametreler

  • toIndex
    Tür: System.Int32
    Yeni dizin konumu belirtir koleksiyon.

Kural dışı durumlar

Özel durum Koşul
ArgumentOutOfRangeException

Aşağıdaki hata iletilerinden birini alabilirsiniz:

toIndexsıfırdan küçük.

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

itemkoleksiyon tarafından yer alıyor.