Compartir a través de


HierarchyItemCollectionChangedEventArgs Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

This API is not CLS-compliant. 

Inheritance Hierarchy

System.Object
  System.EventArgs
    System.Collections.Specialized.NotifyCollectionChangedEventArgs
      Microsoft.VisualStudio.Shell.HierarchyItemCollectionChangedEventArgs

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaración
<CLSCompliantAttribute(False)> _
Public Class HierarchyItemCollectionChangedEventArgs _
    Inherits NotifyCollectionChangedEventArgs
[CLSCompliantAttribute(false)]
public class HierarchyItemCollectionChangedEventArgs : NotifyCollectionChangedEventArgs

The HierarchyItemCollectionChangedEventArgs type exposes the following members.

Constructors

  Name Description
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, IList) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, Object) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, IList, IList) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, IList, Int32) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, Object, Int32) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, Object, Object) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, IList, IList, Int32) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, IList, Int32, Int32) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, Object, Int32, Int32) Infrastructure.
Public method HierarchyItemCollectionChangedEventArgs(UInt32, NotifyCollectionChangedAction, Object, Object, Int32) Infrastructure.

Top

Properties

  Name Description
Public property Action Gets the action that caused the event. (Inherited from NotifyCollectionChangedEventArgs.)
Public property HierarchyManipulationState Infrastructure.
Public property NewItems Gets the list of new items involved in the change. (Inherited from NotifyCollectionChangedEventArgs.)
Public property NewStartingIndex Gets the index at which the change occurred. (Inherited from NotifyCollectionChangedEventArgs.)
Public property OldItems Gets the list of items affected by a Replace, Remove, or Move action. (Inherited from NotifyCollectionChangedEventArgs.)
Public property OldStartingIndex Gets the index at which a Move, Remove, or Replace action occurred. (Inherited from NotifyCollectionChangedEventArgs.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace