Partager via


RelationshipHasTarget.GetLinks Method

Get any RelationshipHasTarget links between a given DomainRelationship and a DomainRole.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'Déclaration
Public Shared Function GetLinks ( _
    source As DomainRelationship, _
    target As DomainRole _
) As ReadOnlyCollection(Of RelationshipHasTarget)
public static ReadOnlyCollection<RelationshipHasTarget> GetLinks(
    DomainRelationship source,
    DomainRole target
)
public:
static ReadOnlyCollection<RelationshipHasTarget^>^ GetLinks(
    DomainRelationship^ source, 
    DomainRole^ target
)
static member GetLinks : 
        source:DomainRelationship * 
        target:DomainRole -> ReadOnlyCollection<RelationshipHasTarget> 
public static function GetLinks(
    source : DomainRelationship, 
    target : DomainRole
) : ReadOnlyCollection<RelationshipHasTarget>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<RelationshipHasTarget>

.NET Framework Security

See Also

Reference

RelationshipHasTarget Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace