共用方式為


DropTargetContext.Set 方法

將置放目標內容資訊加入至指定的異動,以供稍後使用。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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 命名空間