ItemCollection::IEditableCollectionViewAddNewItem::AddNewItem Method (Object^)

.NET Framework (current version)
 

Adds the specified object to the collection.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

private:
virtual Object^ AddNewItem(
	Object^ newItem
) sealed = IEditableCollectionViewAddNewItem::AddNewItem

Parameters

newItem
Type: System::Object^

The object to add to the collection.

Return Value

Type: System::Object^

The object that was added to the collection.

This member is an explicit interface member implementation. It can be used only when the ItemCollection instance is cast to an IEditableCollectionViewAddNewItem interface.

.NET Framework
Available since 4.0
Return to top
Show: