DslLibraryDefinesElements.GetLinks Method
Get any DslLibraryDefinesElements links between a given DslLibrary and 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 GetLinks ( _
source As DslLibrary, _
target As DiagramElement _
) As ReadOnlyCollection(Of DslLibraryDefinesElements)
public static ReadOnlyCollection<DslLibraryDefinesElements> GetLinks(
DslLibrary source,
DiagramElement target
)
public:
static ReadOnlyCollection<DslLibraryDefinesElements^>^ GetLinks(
DslLibrary^ source,
DiagramElement^ target
)
static member GetLinks :
source:DslLibrary *
target:DiagramElement -> ReadOnlyCollection<DslLibraryDefinesElements>
public static function GetLinks(
source : DslLibrary,
target : DiagramElement
) : ReadOnlyCollection<DslLibraryDefinesElements>
Parameters
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DslLibraryDefinesElements>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.