次の方法で共有


vsContextGuids Class

Definition

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(AddIn, String, String, String, Boolean, Int32, Object[], Int32) and AddNamedCommand2(AddIn, String, String, String, Boolean, Object, Object[], Int32, Int32, vsCommandControlType).

public ref class vsContextGuids abstract
[Windows::Foundation::Metadata::WebHostHidden]
public ref class vsContextGuids abstract
[Windows::Foundation::Metadata::WebHostHidden]
class vsContextGuids abstract
[System.Runtime.InteropServices.Guid("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")]
public abstract class vsContextGuids
[<System.Runtime.InteropServices.Guid("0FECB64A-8779-4A7B-B7CD-226DD6531FB1")>]
type vsContextGuids = class
Public MustInherit Class vsContextGuids
Inheritance
vsContextGuids
Attributes

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.

Constructors

vsContextGuids()

Fields

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.

Applies to