DiagramItemCollection.Add Method (DiagramItem)
Adds a specific DiagramItem to the collection.
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 Overridable Sub Add ( _
diagramItem As DiagramItem _
)
public virtual void Add(
DiagramItem diagramItem
)
public:
virtual void Add(
DiagramItem^ diagramItem
)
abstract Add :
diagramItem:DiagramItem -> unit
override Add :
diagramItem:DiagramItem -> unit
public function Add(
diagramItem : DiagramItem
)
Parameters
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The DiagramItem to add to this collection.
.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.