Udostępnij za pośrednictwem


VSITEMSELECTION Struct

Definition

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

public value class VSITEMSELECTION
struct VSITEMSELECTION
public struct VSITEMSELECTION
type VSITEMSELECTION = struct
Public Structure VSITEMSELECTION
Inheritance
VSITEMSELECTION

Remarks

The VSITEMSELECTION structure contains some of the information that makes up the selection context. The selection context is maintained by the Visual Studio environment and is associated with every window. The VSITEMSELECTION data is used to update the Solution Explorer window to reflect the currently active project and project item. The other information in the selection context includes an ISelectionContainer pointer providing access to information for the Properties window and an array of element values.

Fields

itemid

identifier that represents the selected item. For valid itemid values, see VSITEMID.

pHier

Pointer to an IVsHierarchy interface.

Applies to