Partager via


RelationshipHasBaseRelationship.GetLinks Method

Get any RelationshipHasBaseRelationship links between a given DomainRelationship and a DomainRelationship.

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 DomainRelationship _
) As ReadOnlyCollection(Of RelationshipHasBaseRelationship)
public static ReadOnlyCollection<RelationshipHasBaseRelationship> GetLinks(
    DomainRelationship source,
    DomainRelationship target
)
public:
static ReadOnlyCollection<RelationshipHasBaseRelationship^>^ GetLinks(
    DomainRelationship^ source, 
    DomainRelationship^ target
)
static member GetLinks : 
        source:DomainRelationship * 
        target:DomainRelationship -> ReadOnlyCollection<RelationshipHasBaseRelationship> 
public static function GetLinks(
    source : DomainRelationship, 
    target : DomainRelationship
) : ReadOnlyCollection<RelationshipHasBaseRelationship>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

RelationshipHasBaseRelationship Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace