Share via


ModelingBindingSource.Add Method

Adds an existing item to the list. The operation will be performed inside a transaction.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Overrides Function Add ( _
    value As Object _
) As Integer
public override int Add(
    Object value
)
public:
virtual int Add(
    Object^ value
) override
abstract Add : 
        value:Object -> int  
override Add : 
        value:Object -> int
public override function Add(
    value : Object
) : int

Parameters

  • value
    Type: Object

    The item to be added to the list.

Return Value

Type: Int32
The zero-based index at which value was added to the list represented by the System.Windows.Forms.BindingSource.List property.

Implements

IList.Add(Object)

.NET Framework Security

See Also

Reference

ModelingBindingSource Class

Microsoft.VisualStudio.Modeling.Design Namespace