ShapeIdCollection 建構函式 (SelectedShapesCollection)
初始化 ShapeIdCollection 類別的新執行個體。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)
語法
'宣告
Public Sub New ( _
selection As SelectedShapesCollection _
)
public ShapeIdCollection(
SelectedShapesCollection selection
)
參數
- selection
型別:Microsoft.VisualStudio.Modeling.Diagrams.SelectedShapesCollection
圖形來初始化集合的集合。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。