DslHasDiagram.GetLinkToDsl Method
Get the DslHasDiagram link to a Diagram.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaration
Public Shared Function GetLinkToDsl ( _
diagramInstance As Diagram _
) As DslHasDiagram
public static DslHasDiagram GetLinkToDsl(
Diagram diagramInstance
)
public:
static DslHasDiagram^ GetLinkToDsl(
Diagram^ diagramInstance
)
static member GetLinkToDsl :
diagramInstance:Diagram -> DslHasDiagram
public static function GetLinkToDsl(
diagramInstance : Diagram
) : DslHasDiagram
Parameters
- diagramInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslHasDiagram
.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.