vsContextGuids Class

Contains context GUIDs, each of which represents a given IDE state, such as if a Visual C# project is open, or the Visual Basic editor is open. This enumeration is passed as an argument to AddNamedCommand and AddNamedCommand2.

System.Object
  VSLangProj80.vsContextGuids

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

[GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public abstract class vsContextGuids

The vsContextGuids type exposes the following members.

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public fieldStatic membervsContextGuidVBEditorRepresents whether Visual Basic code is open in the editor.
Public fieldStatic membervsContextGuidVBProjectRepresents whether a Visual Basic project is present in the IDE.
Public fieldStatic membervsContextGuidVCSEditorRepresents whether Visual C# code is open in the editor.
Public fieldStatic membervsContextGuidVCSProjectRepresents whether a Visual C# project is present in the IDE.
Public fieldStatic membervsContextGuidVJSEditorRepresents whether code is open in the editor.
Public fieldStatic membervsContextGuidVJSProjectRepresents whether a project is present in the IDE.
Top

The command will be visible if the enumeration's related context GUID is active. If it is not active, then the command will not be visible.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft