AggregationInstanceAttributeCollection.Move Methode

Definition

Überlädt

Move(AggregationInstanceAttribute, Int32)

Verschiebt das angegebene AggregationInstanceAttribute-Objekt an eine neue Position in der Collection.

Move(Int32, Int32)

Verschiebt ein AggregationInstanceAttribute-Objekt in der Collection von seiner aktueller Position an eine andere.

Move(String, Int32)

Verschiebt ein AggregationInstanceAttribute-Objekt mit der angegebenen AttributeID an eine neue Position in der Collection.

Move(AggregationInstanceAttribute, Int32)

Verschiebt das angegebene AggregationInstanceAttribute-Objekt an eine neue Position in der Collection.

public void Move (Microsoft.AnalysisServices.AggregationInstanceAttribute item, int toIndex);
override this.Move : Microsoft.AnalysisServices.AggregationInstanceAttribute * int -> unit
Public Sub Move (item As AggregationInstanceAttribute, toIndex As Integer)

Parameter

item
AggregationInstanceAttribute

Das AggregationInstanceAttribute-Objekt, das verschoben werden soll.

toIndex
Int32

Der nullbasierte Index, an den das angegebene AggregationInstanceAttribute-Objekt verschoben werden soll.

Ausnahmen

  • Die angegebene AggregationInstanceAttribute Auflistung ist nicht vorhanden.
  • Der angegebene toIndex ist kein gültiger Wert (kleiner als Null oder größer, dann die Gesamtzahl der Elemente).

Gilt für:

Move(Int32, Int32)

Verschiebt ein AggregationInstanceAttribute-Objekt in der Collection von seiner aktueller Position an eine andere.

public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (int fromIndex, int toIndex);
override this.Move : int * int -> Microsoft.AnalysisServices.AggregationInstanceAttribute
Public Function Move (fromIndex As Integer, toIndex As Integer) As AggregationInstanceAttribute

Parameter

fromIndex
Int32

Der nullbasierte Index des AggregationInstanceAttribute-Objekts, das verschoben werden soll.

toIndex
Int32

Der nullbasierte Index, an den das von fromIndex angegebene AggregationInstanceAttribute-Objekt verschoben werden soll.

Gibt zurück

Das AggregationInstanceAttribute-Objekt, das verschoben wurde.

Ausnahmen

  • Der angegebene fromIndex ist kein gültiger Wert (kleiner als Null oder größer, dann die Gesamtzahl der Elemente).
  • Der angegebene toIndex ist kein gültiger Wert (kleiner als Null oder größer, dann die Gesamtzahl der Elemente).

Gilt für:

Move(String, Int32)

Verschiebt ein AggregationInstanceAttribute-Objekt mit der angegebenen AttributeID an eine neue Position in der Collection.

public Microsoft.AnalysisServices.AggregationInstanceAttribute Move (string attributeId, int toIndex);
override this.Move : string * int -> Microsoft.AnalysisServices.AggregationInstanceAttribute
Public Function Move (attributeId As String, toIndex As Integer) As AggregationInstanceAttribute

Parameter

attributeId
String

Die AttributeID des zu verschiebenden AggregationInstanceAttribute-Objekts.

toIndex
Int32

Der nullbasierte Index, an den das von fromIndex angegebene AggregationInstanceAttribute-Objekt verschoben werden soll.

Gibt zurück

Das AggregationInstanceAttribute-Objekt, das verschoben wurde.

Ausnahmen

  • attributId ist keine gültige AttributID für eine AggregationInstanceAttribute in der Auflistung.
  • Der angegebene toIndex ist kein gültiger Wert (kleiner als Null oder größer, dann die Gesamtzahl der Elemente).

Gilt für: