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
- diagramItems
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
The collection of DiagramItems that is to replace the current highlight list.
Remarks
If the DiagramItemCollection is null, then the highlight list is cleared.
.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.