다음을 통해 공유


RelationshipCollection.Move Method

Definition

Overloads

Move(Relationship, Int32)

Moves an Relationship in collection to a specified position.

Move(Int32, Int32)

Moves an Relationship in collection from a position to another.

Move(String, Int32)

Moves an Relationship in collection to a specified position.

Move(Relationship, Int32)

Moves an Relationship in collection to a specified position.

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

Parameters

item
Relationship

The Relationship to be moved.

toIndex
Int32

The zero-based index where the Relationship will be moved.

Applies to

Move(Int32, Int32)

Moves an Relationship in collection from a position to another.

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

Parameters

fromIndex
Int32

The zero-based index from which the Relationship will be moved.

toIndex
Int32

The zero-based index where the Relationship will be moved.

Returns

The Relationship that was moved.

Applies to

Move(String, Int32)

Moves an Relationship in collection to a specified position.

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

Parameters

id
String

The ID of the Relationship to be moved.

toIndex
Int32

The zero-based index where the Relationship will be moved.

Returns

The Relationship that was moved.

Applies to