次の方法で共有


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

'宣言
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