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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.