AddingNewEventArgs
AddingNewEventArgs
AddingNewEventArgs
AddingNewEventArgs
Constructors
Definition
Overloads
AddingNewEventArgs() AddingNewEventArgs() AddingNewEventArgs() |
Initializes a new instance of the AddingNewEventArgs class using no parameters. |
AddingNewEventArgs(Object) AddingNewEventArgs(Object) AddingNewEventArgs(Object) AddingNewEventArgs(Object) |
Initializes a new instance of the AddingNewEventArgs class using the specified object as the new item. |
AddingNewEventArgs() AddingNewEventArgs() AddingNewEventArgs()
Initializes a new instance of the AddingNewEventArgs class using no parameters.
public:
AddingNewEventArgs();
public AddingNewEventArgs ();
Public Sub New ()
Remarks
The default constructor sets the NewObject property to null
. A value that is null
indicates that, if the AddingNewEventHandler does not explicitly set this property, the collection will take standard steps to provide a new item to add to itself.
- See also
AddingNewEventArgs(Object) AddingNewEventArgs(Object) AddingNewEventArgs(Object) AddingNewEventArgs(Object)
Initializes a new instance of the AddingNewEventArgs class using the specified object as the new item.
public:
AddingNewEventArgs(System::Object ^ newObject);
public AddingNewEventArgs (object newObject);
new System.ComponentModel.AddingNewEventArgs : obj -> System.ComponentModel.AddingNewEventArgs
Public Sub New (newObject As Object)
Parameters
Remarks
The AddingNewEventArgs constructor sets the NewObject property to the newObject
parameter. This object will be used as the new item to be added to the associated collection, unless this property is updated by the event handler.
- See also
Applies to
Feedback
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.
Loading feedback...