Partilhar via


ElementLink.MoveToIndex(DomainRoleInfo, Int32) Method

Definition

Move this link in the list of relationships contained by the element playing a particular role to a specified index in that relationship list.

public:
 void MoveToIndex(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, int index);
public void MoveToIndex (Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, int index);
member this.MoveToIndex : Microsoft.VisualStudio.Modeling.DomainRoleInfo * int -> unit
Public Sub MoveToIndex (domainRole As DomainRoleInfo, index As Integer)

Parameters

domainRole
DomainRoleInfo

The role of the element in which to move this link

index
Int32

The new index

Applies to