DiagramItemCollection.Remove Method (DiagramItem)
Removes the first occurrence of a specific DiagramItem from the collection.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Overridable Sub Remove ( _
diagramItem As DiagramItem _
)
public virtual void Remove(
DiagramItem diagramItem
)
public:
virtual void Remove(
DiagramItem^ diagramItem
)
abstract Remove :
diagramItem:DiagramItem -> unit
override Remove :
diagramItem:DiagramItem -> unit
public function Remove(
diagramItem : DiagramItem
)
Parameters
diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem to remove.
.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.