HierarchyUtilities.QueryStatusHierParentChain Method
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaración
Public Shared Function QueryStatusHierParentChain ( _
manager As IVsHierarchyItemManager, _
lpUIHCmd As IVsUIHierarchy, _
lpUIHCurrent As IVsUIHierarchy, _
itemidCurrent As UInteger, _
ByRef pguidCmdGroupRef As Guid, _
cCmds As UInteger, _
prgCmds As OLECMD(), _
pCmdText As IntPtr _
) As Integer
public static int QueryStatusHierParentChain(
IVsHierarchyItemManager manager,
IVsUIHierarchy lpUIHCmd,
IVsUIHierarchy lpUIHCurrent,
uint itemidCurrent,
ref Guid pguidCmdGroupRef,
uint cCmds,
OLECMD[] prgCmds,
IntPtr pCmdText
)
Parameters
- manager
Type: Microsoft.VisualStudio.Shell.IVsHierarchyItemManager
- lpUIHCmd
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
- lpUIHCurrent
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy
- itemidCurrent
Type: System.UInt32
- pguidCmdGroupRef
Type: System.Guid%
- cCmds
Type: System.UInt32
- prgCmds
Type: array<Microsoft.VisualStudio.OLE.Interop.OLECMD[]
- pCmdText
Type: System.IntPtr
Return Value
Type: System.Int32
.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.