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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaración
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
- diagramItem
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramItem
The DiagramItem that is to replace the current highlight list.
Remarks
If the DiagramItem 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.