Udostępnij za pośrednictwem


Metoda DomainRoleInfo.GetElementLinksToElement<T> — (ModelElement, ModelElement)

Pobiera łącza między źródłem a elementu docelowego.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Składnia

'Deklaracja
Public Function GetElementLinksToElement(Of T As ElementLink) ( _
    sourceRolePlayerElement As ModelElement, _
    targetRolePlayerElement As ModelElement _
) As ReadOnlyCollection(Of T)
public ReadOnlyCollection<T> GetElementLinksToElement<T>(
    ModelElement sourceRolePlayerElement,
    ModelElement targetRolePlayerElement
)
where T : ElementLink

Parametry typów

  • T
    Typ łącza.

Parametry

Wartość zwracana

Typ: System.Collections.ObjectModel.ReadOnlyCollection<T>
Łącza między elementem źródłowej i docelowej.

Uwagi

Zwracane są również łącza podrzędne.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DomainRoleInfo Klasa

Przeciążenie GetElementLinksToElement

Przestrzeń nazw Microsoft.VisualStudio.Modeling