Compartilhar via


DslLibraryDefinesShapes.GetLinks Method

Get any DslLibraryDefinesShapes links between a given DslLibrary and a BaseShape.

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

Syntax

'Declaração
Public Shared Function GetLinks ( _
    source As DslLibrary, _
    target As BaseShape _
) As ReadOnlyCollection(Of DslLibraryDefinesShapes)
public static ReadOnlyCollection<DslLibraryDefinesShapes> GetLinks(
    DslLibrary source,
    BaseShape target
)
public:
static ReadOnlyCollection<DslLibraryDefinesShapes^>^ GetLinks(
    DslLibrary^ source, 
    BaseShape^ target
)
static member GetLinks : 
        source:DslLibrary * 
        target:BaseShape -> ReadOnlyCollection<DslLibraryDefinesShapes> 
public static function GetLinks(
    source : DslLibrary, 
    target : BaseShape
) : ReadOnlyCollection<DslLibraryDefinesShapes>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

DslLibraryDefinesShapes Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace