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.
Adds the specified DiagramItems to the current selection.
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 Add ( _
diagramItems As DiagramItemCollection _
)
public void Add(
DiagramItemCollection diagramItems
)
public:
void Add(
DiagramItemCollection^ diagramItems
)
member Add :
diagramItems:DiagramItemCollection -> unit
public function Add(
diagramItems : DiagramItemCollection
)
Parameters
- diagramItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The collection of DiagramItems to add.
Remarks
The last DiagramItem in the collection becomes the primary DiagramItem. If a DiagramItem in the collection is already in the selection, the DiagramItem is ignored.
.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.