Bagikan melalui


ContextGuids Class

Contains context GUIDs, each of which represents a state of the integrated development environment (IDE) or a tool window. Examples of state include a debugging session in process, an empty solution being loaded, or the IDE in design view. This enumeration is passed as an argument to AddNamedCommand and AddNamedCommand2.

Namespace:  EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

Syntax

'Declaration
<GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")> _
Public MustInherit Class ContextGuids
'Usage
Dim instance As ContextGuids
[GuidAttribute("18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public abstract class ContextGuids
[GuidAttribute(L"18CBB358-74CE-454F-AB65-08C83DDF7B3C")]
public ref class ContextGuids abstract
public abstract class ContextGuids

Remarks

Many commands are displayed only when their related context GUIDs are active. For example, some debugging commands are not displayed unless you are debugging code. If none of the related contexts are active, then the command is not displayed.

Inheritance Hierarchy

System.Object
  EnvDTE80.ContextGuids

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

ContextGuids Members

EnvDTE80 Namespace