HighlightedShapesCollection.Remove Method (DiagramItem)
Removes a DiagramItem from the current highlight list.
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 Overrides Sub Remove ( _
diagramItem As DiagramItem _
)
public override void Remove(
DiagramItem diagramItem
)
public:
virtual void Remove(
DiagramItem^ diagramItem
) override
abstract Remove :
diagramItem:DiagramItem -> unit
override Remove :
diagramItem:DiagramItem -> unit
public override function Remove(
diagramItem : DiagramItem
)
Parameters
diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemThe DiagramItem to remove from the current highlight list.
Remarks
If a DiagramItem does not exist in the highlight list, 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.