DiagramRepresentsClass.GetLinkToClass Method
Get the DiagramRepresentsClass 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
'Déclaration
Public Shared Function GetLinkToClass ( _
diagramInstance As Diagram _
) As DiagramRepresentsClass
public static DiagramRepresentsClass GetLinkToClass(
Diagram diagramInstance
)
public:
static DiagramRepresentsClass^ GetLinkToClass(
Diagram^ diagramInstance
)
static member GetLinkToClass :
diagramInstance:Diagram -> DiagramRepresentsClass
public static function GetLinkToClass(
diagramInstance : Diagram
) : DiagramRepresentsClass
Parameters
- diagramInstance
Type: Microsoft.VisualStudio.Modeling.DslDefinition.Diagram
Return Value
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass
.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.