共用方式為


IVsUIHierarchy Members

Include Protected Members
Include Inherited Members

Redirects commands you invoke to the appropriate hierarchy window instead of the standard command handler.

The IVsUIHierarchy type exposes the following members.

Methods

  Name Description
Public method AdviseHierarchyEvents Establishes client notification of hierarchy events without the hierarchy implementing IConnectionPointContainer. (Inherited from IVsHierarchy.)
Public method Close Closes and cleans up a hierarchy once the environment determines that it is no longer used. (Inherited from IVsHierarchy.)
Public method ExecCommand Executes a command on a specific item within a UI hierarchy window, or on the hierarchy itself.
Public method GetCanonicalName Returns a unique, string name for an item in the hierarchy. Used for workspace persistence, such as remembering window positions. (Inherited from IVsHierarchy.)
Public method GetGuidProperty Gets properties whose values are GUIDs. (Inherited from IVsHierarchy.)
Public method GetNestedHierarchy Makes it possible for a node of a given hierarchy to be a shortcut to the middle of another hierarchy. (Inherited from IVsHierarchy.)
Public method GetProperty Gets properties of a given node or of the hierarchy. (Inherited from IVsHierarchy.)
Public method GetSite Gets the service provider from which to access the services. (Inherited from IVsHierarchy.)
Public method ParseCanonicalName Returns the identifier of the hierarchy item, given its canonical name. (Inherited from IVsHierarchy.)
Public method QueryClose Determines whether the given hierarchy can be closed. (Inherited from IVsHierarchy.)
Public method QueryStatusCommand Queries the object for the command status.
Public method SetGuidProperty Sets properties whose values are GUIDs. (Inherited from IVsHierarchy.)
Public method SetProperty Sets properties of a specific node or of the hierarchy. (Inherited from IVsHierarchy.)
Public method SetSite Sets the service provider from which to access the services. (Inherited from IVsHierarchy.)
Public method UnadviseHierarchyEvents Disables client notification of hierarchy events without requiring that the hierarchy implement IConnectionPointContainer. (Inherited from IVsHierarchy.)
Public method Unused0 Adds new methods without recompiling or breaking binary compatibility. (Inherited from IVsHierarchy.)
Public method Unused1 Adds new methods without recompiling or breaking binary compatibility. (Inherited from IVsHierarchy.)
Public method Unused2 Adds new methods without recompiling or breaking binary compatibility. (Inherited from IVsHierarchy.)
Public method Unused3 Adds new methods without recompiling or breaking binary compatibility. (Inherited from IVsHierarchy.)
Public method Unused4 Adds new methods without recompiling or breaking binary compatibility. (Inherited from IVsHierarchy.)

Top

See Also

Reference

IVsUIHierarchy Interface

Microsoft.VisualStudio.Shell.Interop Namespace