ModelingBindingSource.Insert Method
Inserts an item into the list at the specified index. Performs the operation inside a transaction.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Overrides Sub Insert ( _
index As Integer, _
value As Object _
)
public override void Insert(
int index,
Object value
)
public:
virtual void Insert(
int index,
Object^ value
) override
abstract Insert :
index:int *
value:Object -> unit
override Insert :
index:int *
value:Object -> unit
public override function Insert(
index : int,
value : Object
)
Parameters
- index
Type: System.Int32
The zero-based index at which item should be inserted.
- value
Type: System.Object
The item to insert.
Implements
.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.