Delen via


HighlightedShapesCollection.Set Method (DiagramItem)

Replaces the current highlight list with a new single highlight.

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 Sub Set ( _
    diagramItem As DiagramItem _
)
public void Set(
    DiagramItem diagramItem
)
public:
void Set(
    DiagramItem^ diagramItem
)
member Set : 
        diagramItem:DiagramItem -> unit
public function Set(
    diagramItem : DiagramItem
)

Parameters

Remarks

If the DiagramItem is null, then the highlight list is cleared.

.NET Framework Security

See Also

Reference

HighlightedShapesCollection Class

Set Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace