Udostępnij za pośrednictwem


DomainRoleInfo.GetLinkedElements(ModelElement) Method

Definition

Gets a list of elements linked to an element playing this role via this role's relationship.

public:
 Microsoft::VisualStudio::Modeling::LinkedElementCollection<Microsoft::VisualStudio::Modeling::ModelElement ^> ^ GetLinkedElements(Microsoft::VisualStudio::Modeling::ModelElement ^ rolePlayerElement);
public Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.ModelElement> GetLinkedElements (Microsoft.VisualStudio.Modeling.ModelElement rolePlayerElement);
member this.GetLinkedElements : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.LinkedElementCollection<Microsoft.VisualStudio.Modeling.ModelElement>
Public Function GetLinkedElements (rolePlayerElement As ModelElement) As LinkedElementCollection(Of ModelElement)

Parameters

rolePlayerElement
ModelElement

Element playing this role.

Returns

List of elements playing opposite role in links the element partitipates in.

Applies to