Delen via


RelationshipHasRoles.GetLinks Method

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

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

Syntax

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

RelationshipHasRoles Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace