共用方式為


DragSourceContext.Set 方法

將拖曳來源資訊加入至 ElementGroupPrototype 的來源內容。

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

參數

.NET Framework 安全性

請參閱

參考

DragSourceContext 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間