Share via


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.

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

Syntax

'Declaration
<GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")> _
Public MustInherit Class vsContextGuids
'Usage
Dim instance As vsContextGuids
[GuidAttribute("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public abstract class vsContextGuids
[GuidAttribute(L"0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public ref class vsContextGuids abstract
public abstract class vsContextGuids

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.

Inheritance Hierarchy

System.Object
  VSLangProj80.vsContextGuids

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

vsContextGuids Members

VSLangProj80 Namespace