共用方式為


UIContextGuids.SolutionHasSingleProject Field

Specifies a context in which a loaded solution contains a single project.

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

Syntax

'宣告
Public Const SolutionHasSingleProject As String
'用途
Dim value As String

value = UIContextGuids.SolutionHasSingleProject
public const string SolutionHasSingleProject
public:
literal String^ SolutionHasSingleProject
static val mutable SolutionHasSingleProject: string
public const var SolutionHasSingleProject : String

Remarks

This context becomes active when a solution with a single project is loaded or created. This context also becomes active when all projects but one have been removed from a solution.

The GUID for this project is: {ADFC4E66-0397-11D1-9F4E-00A0C911004F}. It is defined in vsshlids.h and vsshell.h.

.NET Framework Security

See Also

Reference

UIContextGuids Class

UIContextGuids Members

Microsoft.VisualStudio.Shell.Interop Namespace