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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.