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: ObjectThe 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
- 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.