共用方式為


ModelingBindingSource.Add(Object) Method

Definition

Adds an existing item to the list.

public:
 override int Add(System::Object ^ value);
public override int Add (object value);
override this.Add : obj -> int
Public Overrides Function Add (value As Object) As Integer

Parameters

value
Object

The item to be added to the list.

Returns

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

Exceptions

Occurs if the AllowNew flag is set to false.

Applies to