DomainDataSourceView.IEditableCollectionView.AddNew Method
[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]
Adds a new item to the underlying collection.
Namespace: System.Windows.Controls
Assembly: System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)
Syntax
'Declaration
Private Function AddNew As Object Implements IEditableCollectionView.AddNew
'Usage
Dim instance As DomainDataSourceView
Dim returnValue As Object
returnValue = CType(instance, IEditableCollectionView).AddNew()
Object IEditableCollectionView.AddNew()
private:
virtual Object^ AddNew() sealed = IEditableCollectionView::AddNew
private abstract AddNew : unit -> Object
private override AddNew : unit -> Object
JScript supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: System.Object
The new item that is added to the collection.
Implements
IEditableCollectionView.AddNew()
Remarks
This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an IEditableCollectionView interface.