BinaryLinkShapeBase.Connect(NodeShape, NodeShape) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée les relations ElementLink nécessaires pour connecter les deux NodeShapes spécifiés. Si cette BinaryLinkShape se trouve déjà sur un diagramme, connecte également le GraphEdge. Sinon, le GraphEdge est connecté lorsque la BinaryLinkShape est ajoutée à un diagramme.
public:
virtual void Connect(Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ fromShape, Microsoft::VisualStudio::Modeling::Diagrams::NodeShape ^ toShape);
public virtual void Connect (Microsoft.VisualStudio.Modeling.Diagrams.NodeShape fromShape, Microsoft.VisualStudio.Modeling.Diagrams.NodeShape toShape);
abstract member Connect : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.NodeShape -> unit
override this.Connect : Microsoft.VisualStudio.Modeling.Diagrams.NodeShape * Microsoft.VisualStudio.Modeling.Diagrams.NodeShape -> unit
Public Overridable Sub Connect (fromShape As NodeShape, toShape As NodeShape)
Paramètres
- fromShape
- NodeShape
NodeShape à partir de la fin de la relation.
- toShape
- NodeShape
NodeShape à la fin de la relation.