SelectedShapesCollection.Remove Method (DiagramItemCollection)
Removes the specified DiagramItems from 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
'Declaração
Public Sub Remove ( _
diagramItems As DiagramItemCollection _
)
public void Remove(
DiagramItemCollection diagramItems
)
public:
void Remove(
DiagramItemCollection^ diagramItems
)
member Remove :
diagramItems:DiagramItemCollection -> unit
public function Remove(
diagramItems : DiagramItemCollection
)
Parameters
- diagramItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The collection of DiagramItems to remove
Remarks
If a DiagramItem does not exist 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.