Diagram.LassoSelect(RectangleD, Boolean) 方法

定义

返回以世界单位表示的指定矩形中的 DiagramItems 的集合。

public:
 Microsoft::VisualStudio::Modeling::Diagrams::DiagramItemCollection ^ LassoSelect(Microsoft::VisualStudio::Modeling::Diagrams::RectangleD rectangle, bool requireCompleteContainment);
public Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection LassoSelect (Microsoft.VisualStudio.Modeling.Diagrams.RectangleD rectangle, bool requireCompleteContainment);
member this.LassoSelect : Microsoft.VisualStudio.Modeling.Diagrams.RectangleD * bool -> Microsoft.VisualStudio.Modeling.Diagrams.DiagramItemCollection
Public Function LassoSelect (rectangle As RectangleD, requireCompleteContainment As Boolean) As DiagramItemCollection

参数

rectangle
RectangleD

绑定矩形。

requireCompleteContainment
Boolean

一个值,该值指示形状的边界框是否必须完全在边框内,才能添加到集合中。

返回

DiagramItemCollection

以世界单位表示的指定边框内的 DiagramItems 的集合。

适用于