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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.