Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

object IEditableCollectionViewAddNewItem.AddNewItem(
	object newItem
)

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:
© 2017 Microsoft