ICancelAddNew.CancelNew(Int32) 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.
Discards a pending new item from the collection.
public:
void CancelNew(int itemIndex);
public void CancelNew (int itemIndex);
abstract member CancelNew : int -> unit
Public Sub CancelNew (itemIndex As Integer)
Parameters
- itemIndex
- Int32
The index of the item that was previously added to the collection.
Remarks
The CancelNew method rolls back a pending addition (AddNew) of an item previously added to the collection at position itemIndex
. The index parameter is necessary because several new items can be simultaneously pending.
Applies to
See also
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για