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