SelectionContainer Members

Provides a unified interface for accessing a set of selected objects.

The SelectionContainer type exposes the following members.

Constructors

  Name Description
Public method SelectionContainer Overloaded. This constructor initializes a new SelectionContainer object on creation.

Top

Methods

  Name Description
Protected method ActivateObjects Overriding this method enables an object to respond when selected.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object 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

Fields

  Name Description
Public fieldStatic member ALL Refers to all SelectableObjects.
Public fieldStatic member SELECTED Refers to all SelectedObjects.

Top

Properties

  Name Description
Public property SelectableObjects Gets the collection of selectable objects.
Public property SelectedObjects Gets or sets the collection of selected objects.

Top

Events

  Name Description
Public event SelectedObjectsChanged Raised when an external object calls the SelectObjects(UInt32, [], UInt32) method with the F:Microsoft.VisualStudio.Shell.SelectionContainer.SELECTED flag set.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ISelectionContainer.CountObjects
Explicit interface implemetationPrivate method ISelectionContainer.GetObjects
Explicit interface implemetationPrivate method ISelectionContainer.SelectObjects

Top

See Also

Reference

SelectionContainer Class

Microsoft.VisualStudio.Shell Namespace