System.ComponentModel.AddingNewEventArgs.NewObject Property

Gets or sets the object to be added to the binding list.

Syntax

public object NewObject { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

If the AddingNewEventArgs.NewObject property is set to null, it indicates that the collection is to take the standard action, which typically entails creating an object of the appropriate type using its default constructor, and then adding it to the collection.

Requirements

Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0