共用方式為


ShapeModelingCollection.Add Method (ShapeElement)

Adds a specific ShapeElement to the collection.

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 ( _
    shape As ShapeElement _
)
public virtual void Add(
    ShapeElement shape
)
public:
virtual void Add(
    ShapeElement^ shape
)
abstract Add : 
        shape:ShapeElement -> unit 
override Add : 
        shape:ShapeElement -> unit 
public function Add(
    shape : ShapeElement
)

Parameters

.NET Framework Security

See Also

Reference

ShapeModelingCollection Class

Add Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace