共用方式為


DslLibraryDefinesElements.GetLink Method

Get the one DslLibraryDefinesElements link between a given DslLibraryand a DiagramElement.

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 GetLink ( _
    source As DslLibrary, _
    target As DiagramElement _
) As DslLibraryDefinesElements
public static DslLibraryDefinesElements GetLink(
    DslLibrary source,
    DiagramElement target
)
public:
static DslLibraryDefinesElements^ GetLink(
    DslLibrary^ source, 
    DiagramElement^ target
)
static member GetLink : 
        source:DslLibrary * 
        target:DiagramElement -> DslLibraryDefinesElements 
public static function GetLink(
    source : DslLibrary, 
    target : DiagramElement
) : DslLibraryDefinesElements

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibraryDefinesElements

.NET Framework Security

See Also

Reference

DslLibraryDefinesElements Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace