添加拖动源信息。 ElementGroupPrototype 的源上下文。
命名空间: Microsoft.VisualStudio.Modeling.Diagrams
程序集: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
语法
声明
Public Shared Sub Set ( _
elementGroupPrototype As ElementGroupPrototype, _
initialDragLocation As PointD, _
ghostShapes As GhostShapeCollection _
)
public static void Set(
ElementGroupPrototype elementGroupPrototype,
PointD initialDragLocation,
GhostShapeCollection ghostShapes
)
参数
- elementGroupPrototype
类型:Microsoft.VisualStudio.Modeling.ElementGroupPrototype
添加信息的 ElementGroupPrototype。
- initialDragLocation
类型:Microsoft.VisualStudio.Modeling.Diagrams.PointD
鼠标的初始位置在绝对世界坐标。
- ghostShapes
类型:Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
表示在 ElementGroupPrototype 的所有形状重影形状的集合。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。