Diagram.FixUpDiagramSelection(ShapeElement) 方法

定义

在 FixUpDiagram 期间更新选定内容。 默认行为是在活动关系图视图中选择 newChildShape (如果有),如果没有活动的视图,则选择 "所有视图"。

public:
 virtual System::Collections::IList ^ FixUpDiagramSelection(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ newChildShape);
public virtual System.Collections.IList FixUpDiagramSelection (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement newChildShape);
abstract member FixUpDiagramSelection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Collections.IList
override this.FixUpDiagramSelection : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> System.Collections.IList
Public Overridable Function FixUpDiagramSelection (newChildShape As ShapeElement) As IList

参数

newChildShape
ShapeElement

FixUpDiagram 添加的新子形状

返回

IList

已修改其选择的 DiagramClientViews 的非空列表。

适用于