Επεξεργασία

Κοινή χρήση μέσω


ItemCollection.IEditableCollectionViewAddNewItem.AddNewItem(Object) Method

Definition

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