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
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.