共用方式為


DropTargetContext.GetDropLocation 方法

從指定交易取得置放位置。

命名空間:  Microsoft.VisualStudio.Modeling.Diagrams
組件:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

語法

'宣告
Public Shared Function GetDropLocation ( _
    transaction As Transaction _
) As PointD
public static PointD GetDropLocation(
    Transaction transaction
)

參數

傳回值

類型:Microsoft.VisualStudio.Modeling.Diagrams.PointD

備註

傳回的置放位置是值儲存至指定的交易由先前對靜態方法 AddDropTargetContext。

.NET Framework 安全性

請參閱

參考

DropTargetContext 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間