Share via


HighlightedShapesCollection.Set Method (DiagramItemCollection)

Replaces the current highlight list with a new highlight list.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Sub Set ( _
    diagramItems As DiagramItemCollection _
)
public void Set(
    DiagramItemCollection diagramItems
)
public:
void Set(
    DiagramItemCollection^ diagramItems
)
member Set : 
        diagramItems:DiagramItemCollection -> unit 
public function Set(
    diagramItems : DiagramItemCollection
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

HighlightedShapesCollection Class

Set Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace