SelectedShapesCollection.Remove Method (DiagramItem)
Removes a DiagramItem from the current selection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
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.DiagramItemThe 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.