VSITEMSELECTION.pHier Field
Pointer to an IVsHierarchy interface.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaración
Public pHier As IVsHierarchy
'Uso
Dim instance As VSITEMSELECTION
Dim value As IVsHierarchy
value = instance.pHier
instance.pHier = value
public IVsHierarchy pHier
public:
IVsHierarchy^ pHier
val mutable pHier: IVsHierarchy
public var pHier : IVsHierarchy
Remarks
Pointer to the IVsHierarchy interface of the hierarchy to which the selected item belongs. This pointer can be set to nulla null reference (Nothing in Visual Basic) 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:
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.