共用方式為


HighlightedShapesCollection.Add Method (DiagramItem)

Adds a DiagramItem to the current 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

'宣告
Public Overrides Sub Add ( _
    diagramItem As DiagramItem _
)
public override void Add(
    DiagramItem diagramItem
)
public:
virtual void Add(
    DiagramItem^ diagramItem
) override
abstract Add : 
        diagramItem:DiagramItem -> unit 
override Add : 
        diagramItem:DiagramItem -> unit 
public override function Add(
    diagramItem : DiagramItem
)

Parameters

.NET Framework Security

See Also

Reference

HighlightedShapesCollection Class

Add Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace