共用方式為


CommandTableIds Class

Provides access by third-party applications that use the EnvDTE tools to the GUIDs for standard Visual Studio menus.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TestTools.Vsip.CommandTableIds

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'宣告
Public NotInheritable Class CommandTableIds
public sealed class CommandTableIds
public ref class CommandTableIds sealed
[<Sealed>]
type CommandTableIds =  class end
public final class CommandTableIds

The CommandTableIds type exposes the following members.

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member CommandSetGuid Returns the read-only GUID for the Visual Studio command set.

Top

Remarks

Integrators that use EnvDTE can use this static class to get the GUIDs for several Visual Studio windows:

Microsoft.VisualStudio.TestTools.Vsip.CommandTableIds.ContextMenus

Integrators that use EnvDTE can also use this static class to get the GUIDs for two specific commands:

Microsoft.VisualStudio.TestTools.Vsip.CommandTableIds.Commands

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.TestTools.Vsip Namespace

EnvDTE

Microsoft.VisualStudio.TestTools.Vsip.CommandTableIds.ContextMenus

Microsoft.VisualStudio.TestTools.Vsip.CommandTableIds.Commands