共用方式為


DslLibraryHasRelationships.GetLinks Method

Get any DslLibraryHasRelationships links between a given DslLibrary 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

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

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DslLibraryHasRelationships Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace