Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Initializes a new instance of the DiagramItem class to represent the specified ShapeElement.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Sub New ( _
shape As ShapeElement _
)
public DiagramItem(
ShapeElement shape
)
public:
DiagramItem(
ShapeElement^ shape
)
new :
shape:ShapeElement -> DiagramItem
public function DiagramItem(
shape : ShapeElement
)
Parameters
- shape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
The ShapeElement that this DiagramItem is to represent.
.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.