Share via


DomainDataSourceView.IEditableCollectionView.CancelNew 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.]

Ends the add transaction and discards the pending new item.

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

Syntax

'Declaration
Private Sub CancelNew Implements IEditableCollectionView.CancelNew
'Usage
Dim instance As DomainDataSourceView

CType(instance, IEditableCollectionView).CancelNew()
void IEditableCollectionView.CancelNew()
private:
virtual void CancelNew() sealed = IEditableCollectionView::CancelNew
private abstract CancelNew : unit -> unit 
private override CancelNew : unit -> unit 
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Implements

IEditableCollectionView.CancelNew()

Remarks

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

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace