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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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: System.ObjectThe item to be added to the list.
Return Value
Type: System.Int32
The zero-based index at which value was added to the list represented by the System.Windows.Forms.BindingSource.List property.
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.