Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Constructor Creates a DiagramRepresentsClass link in the same Partition as the given 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 Sub New ( _
source As Diagram, _
target As DomainClass _
)
public DiagramRepresentsClass(
Diagram source,
DomainClass target
)
public:
DiagramRepresentsClass(
Diagram^ source,
DomainClass^ target
)
new :
source:Diagram *
target:DomainClass -> DiagramRepresentsClass
public function DiagramRepresentsClass(
source : Diagram,
target : DomainClass
)
Parameters
source
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DiagramDiagram to use as the source of the relationship.
target
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainClassDomainClass to use as the target of the relationship.
.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.