DiagramRepresentsClass.GetLink Method
Get the one DiagramRepresentsClass link between a given Diagramand a DomainClass.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'Declaração
Public Shared Function GetLink ( _
source As Diagram, _
target As DomainClass _
) As DiagramRepresentsClass
public static DiagramRepresentsClass GetLink(
Diagram source,
DomainClass target
)
public:
static DiagramRepresentsClass^ GetLink(
Diagram^ source,
DomainClass^ target
)
static member GetLink :
source:Diagram *
target:DomainClass -> DiagramRepresentsClass
public static function GetLink(
source : Diagram,
target : DomainClass
) : DiagramRepresentsClass
Parameters
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.