GhostShapeCollection.Add 方法
將 GhostShape 物件加入至集合中。
命名空間: Microsoft.VisualStudio.Modeling.Diagrams
組件: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)
語法
'宣告
Public Sub Add ( _
ghostShape As GhostShape _
)
public void Add(
GhostShape ghostShape
)
參數
- ghostShape
類型:Microsoft.VisualStudio.Modeling.Diagrams.GhostShape
要加入的 GhostShape 物件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。