共用方式為


DropTargetContext.GetGhostShapes 方法

取得 「 幽靈車圖形提供建議的內容 (例如已提議的範圍) 的圖形。

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

語法

'宣告
Public Shared Function GetGhostShapes ( _
    transaction As Transaction _
) As GhostShapeCollection
public static GhostShapeCollection GetGhostShapes(
    Transaction transaction
)

參數

傳回值

型別:Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection

.NET Framework 安全性

請參閱

參考

DropTargetContext 類別

Microsoft.VisualStudio.Modeling.Diagrams 命名空間