UIContextGuids.CodeWindow Field

Specifies a context in which a code window currently has focus.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Public Const CodeWindow As String
'使用
Dim value As String

value = UIContextGuids.CodeWindow
public const string CodeWindow
public:
literal String^ CodeWindow
public const var CodeWindow : String

Field Value

Type: System.String

Remarks

This context becomes active when a code window is switch to. When a code window is switched away from, this context becomes inactive. A code window is typically an editor window showing source code, as opposed to a designer window such as the Windows Forms designer.

The .ctc file label for this context is UICONTEXT_CodeWindow. See VISIBILITY_SECTION – VISIBILITY_END for details.

Permissions

See Also

Reference

UIContextGuids Class

UIContextGuids Members

Microsoft.VisualStudio.Shell.Interop Namespace