Share via


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.

Implements

IList.Insert(Int32, Object)

.NET Framework Security

See Also

Reference

ModelingBindingSource Class

Microsoft.VisualStudio.Modeling.Design Namespace