共用方式為


ShapeModelingCollection.Add Method (ICollection)

Adds the ShapeElements of an ICollection to the end of the ShapeModelingCollection

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable Sub Add ( _
    shapesToAdd As ICollection _
)
public virtual void Add(
    ICollection shapesToAdd
)
public:
virtual void Add(
    ICollection^ shapesToAdd
)
abstract Add : 
        shapesToAdd:ICollection -> unit 
override Add : 
        shapesToAdd:ICollection -> unit 
public function Add(
    shapesToAdd : ICollection
)

Parameters

.NET Framework Security

See Also

Reference

ShapeModelingCollection Class

Add Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace