DomainRoleInfo.GetAllElementLinks(ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a list of all element links given element participates in.
public:
static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::ElementLink ^> ^ GetAllElementLinks(Microsoft::VisualStudio::Modeling::ModelElement ^ rolePlayerElement);
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ElementLink> GetAllElementLinks (Microsoft.VisualStudio.Modeling.ModelElement rolePlayerElement);
static member GetAllElementLinks : Microsoft.VisualStudio.Modeling.ModelElement -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.ElementLink>
Public Shared Function GetAllElementLinks (rolePlayerElement As ModelElement) As ReadOnlyCollection(Of ElementLink)
Parameters
- rolePlayerElement
- ModelElement
Element.
Returns
List of links connected to the element.