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.
Inheritance Hierarchy
System.Object
VSLangProj80.vsContextGuids
Namespace: VSLangProj80
Assembly: VSLangProj80 (in VSLangProj80.dll)
Syntax
'Declaration
<GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")> _
Public MustInherit Class vsContextGuids
[GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public abstract class vsContextGuids
[GuidAttribute(L"0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public ref class vsContextGuids abstract
[<AbstractClass>]
[<GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")>]
type vsContextGuids = class end
public abstract class vsContextGuids
The vsContextGuids type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
vsContextGuidVBEditor | Represents whether Visual Basic code is open in the editor. | |
vsContextGuidVBProject | Represents whether a Visual Basic project is present in the IDE. | |
vsContextGuidVCSEditor | Represents whether Visual C# code is open in the editor. | |
vsContextGuidVCSProject | Represents whether a Visual C# project is present in the IDE. | |
vsContextGuidVJSEditor | Represents whether code is open in the editor. | |
vsContextGuidVJSProject | Represents whether a project is present in the IDE. |
Top
Remarks
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.
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.