共用方式為


RelationshipHasSource.GetLinks Method

Get any RelationshipHasSource 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

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace