ItemCollection.IEditableCollectionViewAddNewItem.AddNewItem(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds the specified object to the collection.
virtual System::Object ^ System.ComponentModel.IEditableCollectionViewAddNewItem.AddNewItem(System::Object ^ newItem) = System::ComponentModel::IEditableCollectionViewAddNewItem::AddNewItem;
object IEditableCollectionViewAddNewItem.AddNewItem (object newItem);
abstract member System.ComponentModel.IEditableCollectionViewAddNewItem.AddNewItem : obj -> obj
override this.System.ComponentModel.IEditableCollectionViewAddNewItem.AddNewItem : obj -> obj
Function AddNewItem (newItem As Object) As Object Implements IEditableCollectionViewAddNewItem.AddNewItem
Parameters
- newItem
- Object
The object to add to the collection.
Returns
The object that was added to the collection.
Implements
Remarks
This member is an explicit interface member implementation. It can be used only when the ItemCollection instance is cast to an IEditableCollectionViewAddNewItem interface.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.