ElementLink.MoveBefore(DomainRoleInfo, ElementLink) 方法

定義

在該關聯性清單中的特定連結之前,于扮演特定角色的元素所包含的關聯性清單中,移動此連結。Move this link in the list of relationships contained by the element playing a particular role before a particular link in that relationship list.

public:
 void MoveBefore(Microsoft::VisualStudio::Modeling::DomainRoleInfo ^ domainRole, Microsoft::VisualStudio::Modeling::ElementLink ^ successor);
public void MoveBefore (Microsoft.VisualStudio.Modeling.DomainRoleInfo domainRole, Microsoft.VisualStudio.Modeling.ElementLink successor);
member this.MoveBefore : Microsoft.VisualStudio.Modeling.DomainRoleInfo * Microsoft.VisualStudio.Modeling.ElementLink -> unit
Public Sub MoveBefore (domainRole As DomainRoleInfo, successor As ElementLink)

參數

domainRole
DomainRoleInfo

要在其中移動這個連結之元素的角色The role of the element in which to move this link

successor
ElementLink

遵循此連結的連結The link that is to follow this link

適用於