DropTargetContext.Set 方法

添加放置目标上下文信息到指定的事务供以后使用。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Sub Set ( _
    transaction As Transaction, _
    targetDiagramId As Guid, _
    dropLocation As PointD, _
    ghostShapes As GhostShapeCollection _
)
public static void Set(
    Transaction transaction,
    Guid targetDiagramId,
    PointD dropLocation,
    GhostShapeCollection ghostShapes
)

参数

  • targetDiagramId
    类型:System.Guid
    放置目标的关系图 ID。

.NET Framework 安全性

请参见

参考

DropTargetContext 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间