共用方式為


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

'宣告
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

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramRepresentsClass

.NET Framework Security

See Also

Reference

DiagramRepresentsClass Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace