Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the links between a source and a target element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
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
public:
generic<typename T>
where T : ElementLink
ReadOnlyCollection<T>^ GetElementLinksToElement(
ModelElement^ sourceRolePlayerElement,
ModelElement^ targetRolePlayerElement
)
member GetElementLinksToElement :
sourceRolePlayerElement:ModelElement *
targetRolePlayerElement:ModelElement -> ReadOnlyCollection<'T> when 'T : ElementLink
JScript does not support generic types or methods.
Type Parameters
- T
Type of link.
Parameters
sourceRolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe source element.
targetRolePlayerElement
Type: Microsoft.VisualStudio.Modeling.ModelElementThe target element.
Return Value
Type: ReadOnlyCollection<T>
The links between the source and target element.
Remarks
Child links are also returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.