Udostępnij za pośrednictwem


ModelingBindingSource.AddNew Method

Definition

Adds a new item to the underlying list.

public:
 override System::Object ^ AddNew();
public override object AddNew ();
override this.AddNew : unit -> obj
Public Overrides Function AddNew () As Object

Returns

The new item.

Exceptions

Occurs if the AllowNew flag is set to false.

Applies to