共用方式為


VSITEMSELECTION Members

Include Protected Members
Include Inherited Members

Contains information that uniquely identifies a selected item within a hierarchy.

The VSITEMSELECTION type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
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 Returns the hash code for this instance. (Inherited from ValueType.)
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 the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field itemid identifier that represents the selected item. For valid itemid values, see VSITEMID.
Public field pHier Pointer to an IVsHierarchy interface.

Top

See Also

Reference

VSITEMSELECTION Structure

Microsoft.VisualStudio.Shell.Interop Namespace