File: System\Collections\Specialized\NotifyCollectionChangedAction.cs
Web Access
Project: src\src\libraries\System.ObjectModel\src\System.ObjectModel.csproj (System.ObjectModel)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace System.Collections.Specialized
{
    /// <summary>
    /// This enum describes the action that caused a CollectionChanged event.
    /// </summary>
    public enum NotifyCollectionChangedAction
    {
        /// <summary>
        /// One or more items were added to the collection.
        /// </summary>
        Add,
 
        /// <summary>
        /// One or more items were removed from the collection.
        /// </summary>
        Remove,
 
        /// <summary>
        /// One or more items were replaced in the collection.
        /// </summary>
        Replace,
 
        /// <summary>
        /// One or more items were moved within the collection.
        /// </summary>
        Move,
 
        /// <summary>
        /// The contents of the collection changed dramatically.
        /// </summary>
        Reset,
    }
}