SelectedShapesCollection.Remove Method (DiagramItem)
Removes a DiagramItem 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 ( _
diagramItem As DiagramItem _
)
public void Remove(
DiagramItem diagramItem
)
public:
void Remove(
DiagramItem^ diagramItem
)
member Remove :
diagramItem:DiagramItem -> unit
public function Remove(
diagramItem : DiagramItem
)
Parameters
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The DiagramItem to remove from the current selection.
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.