DiagramItem.SetItem Méthode

Définition

Surcharges

SetItem(ShapeElement)

Définit le DiagramItem pour représenter le ShapeElement spécifié.

SetItem(LinkShape, LineSegment)

Définit le DiagramItem pour représenter le LineSegment spécifié

SetItem(ShapeElement, ShapeField)

Définit le DiagramItem pour représenter le ShapeField spécifié.

SetItem(LinkShape, LineSegment, AnchorPoint)

Définit le DiagramItem pour représenter le point d'ancrage du LineSegment spécifié

SetItem(ShapeElement, ShapeField, ShapeSubField)

Définit le DiagramItem pour représenter le ShapeSubField spécifié.

SetItem(ShapeElement)

Définit le DiagramItem pour représenter le ShapeElement spécifié.

public:
 void SetItem(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape);
public void SetItem (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape);
member this.SetItem : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> unit
Public Sub SetItem (shape As ShapeElement)

Paramètres

shape
ShapeElement

ShapeElement que ce DiagramItem doit représenter.

S’applique à

SetItem(LinkShape, LineSegment)

Définit le DiagramItem pour représenter le LineSegment spécifié

public:
 void SetItem(Microsoft::VisualStudio::Modeling::Diagrams::LinkShape ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::LineSegment ^ segment);
public void SetItem (Microsoft.VisualStudio.Modeling.Diagrams.LinkShape shape, Microsoft.VisualStudio.Modeling.Diagrams.LineSegment segment);
member this.SetItem : Microsoft.VisualStudio.Modeling.Diagrams.LinkShape * Microsoft.VisualStudio.Modeling.Diagrams.LineSegment -> unit
Public Sub SetItem (shape As LinkShape, segment As LineSegment)

Paramètres

shape
LinkShape

ShapeElement parent du LineSegment. Cet élément ne peut pas être null.

segment
LineSegment

LineSegment que ce DiagramItem doit représenter.

S’applique à

SetItem(ShapeElement, ShapeField)

Définit le DiagramItem pour représenter le ShapeField spécifié.

public:
 void SetItem(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field);
public void SetItem (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field);
member this.SetItem : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField -> unit
Public Sub SetItem (shape As ShapeElement, field As ShapeField)

Paramètres

shape
ShapeElement

ShapeElement parent du ShapeField. Cet élément ne peut pas être null.

field
ShapeField

ShapeField que ce DiagramItem doit représenter.

S’applique à

SetItem(LinkShape, LineSegment, AnchorPoint)

Définit le DiagramItem pour représenter le point d'ancrage du LineSegment spécifié

public:
 void SetItem(Microsoft::VisualStudio::Modeling::Diagrams::LinkShape ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::LineSegment ^ segment, Microsoft::VisualStudio::Modeling::Diagrams::AnchorPoint ^ anchorPoint);
public void SetItem (Microsoft.VisualStudio.Modeling.Diagrams.LinkShape shape, Microsoft.VisualStudio.Modeling.Diagrams.LineSegment segment, Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint anchorPoint);
member this.SetItem : Microsoft.VisualStudio.Modeling.Diagrams.LinkShape * Microsoft.VisualStudio.Modeling.Diagrams.LineSegment * Microsoft.VisualStudio.Modeling.Diagrams.AnchorPoint -> unit
Public Sub SetItem (shape As LinkShape, segment As LineSegment, anchorPoint As AnchorPoint)

Paramètres

shape
LinkShape

ShapeElement parent du LineSegment. Cet élément ne peut pas être null.

segment
LineSegment

LineSegment que ce DiagramItem doit représenter.

anchorPoint
AnchorPoint

Point d'ancrage dans le segment de ligne

S’applique à

SetItem(ShapeElement, ShapeField, ShapeSubField)

Définit le DiagramItem pour représenter le ShapeSubField spécifié.

public:
 void SetItem(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ shape, Microsoft::VisualStudio::Modeling::Diagrams::ShapeField ^ field, Microsoft::VisualStudio::Modeling::Diagrams::ShapeSubField ^ subfield);
public void SetItem (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement shape, Microsoft.VisualStudio.Modeling.Diagrams.ShapeField field, Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField subfield);
member this.SetItem : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement * Microsoft.VisualStudio.Modeling.Diagrams.ShapeField * Microsoft.VisualStudio.Modeling.Diagrams.ShapeSubField -> unit
Public Sub SetItem (shape As ShapeElement, field As ShapeField, subfield As ShapeSubField)

Paramètres

shape
ShapeElement

ShapeElement parent du ShapeSubField. Cet élément ne peut pas être null.

field
ShapeField

ShapeField parent du ShapeSubField. Cet élément ne peut pas être null.

subfield
ShapeSubField

S’applique à