Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Overridable Sub Insert ( _
index As Integer, _
shape As ShapeElement _
)
'使用
Dim instance As ShapeModelingCollection
Dim index As Integer
Dim shape As ShapeElement
instance.Insert(index, shape)
public virtual void Insert(
int index,
ShapeElement shape
)
public:
virtual void Insert(
int index,
ShapeElement^ shape
)
public function Insert(
index : int,
shape : ShapeElement
)
Parameters
- index
Type: System.Int32
Permissions
- 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.