共用方式為


VSITEMSELECTION.pHier Field

Definition

Pointer to an IVsHierarchy interface.

public: Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier;
public: Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHier;
Microsoft::VisualStudio::Shell::Interop::IVsHierarchy pHier;
public Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHier;
val mutable pHier : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
Public pHier As IVsHierarchy 

Field Value

Remarks

Pointer to the IVsHierarchy interface of the hierarchy to which the selected item belongs. This pointer can be set to null if the grfGSI flag in GetSelectedItems is set to GSI_fOmitHierPtrs. Setting this flag to GSI_fOmitHierPtrs is an optimization that allows a VSPackage to avoid returning the same pointer twice.

COM Signature

From vsshell.idl:

Applies to