共用方式為


GhostShapeCollection 建構函式 (Guid, Guid)

初始化 GhostShapeCollection 類別的新執行個體。

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

語法

'宣告
Public Sub New ( _
    sourceStoreId As Guid, _
    sourceDiagramId As Guid _
)
public GhostShapeCollection(
    Guid sourceStoreId,
    Guid sourceDiagramId
)

參數

  • sourceStoreId
    類型:System.Guid
    ShapeElements 的來源存放區的 Guid。如果沒有來源存放區,可以使用值 Guid.Empty。
  • sourceDiagramId
    類型:System.Guid
    ShapeElements 的來源圖表的 Guid。如果沒有來源存放區,可以使用值 Guid.Empty。

.NET Framework 安全性

請參閱

參考

GhostShapeCollection 類別

GhostShapeCollection 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間