KnownUIContexts.SolutionHasSingleProjectContext Property
Gets a UI context indicating that a solution with exactly one project is loaded.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Shared ReadOnly Property SolutionHasSingleProjectContext As UIContext
public static UIContext SolutionHasSingleProjectContext { get; }
public:
static property UIContext^ SolutionHasSingleProjectContext {
UIContext^ get ();
}
static member SolutionHasSingleProjectContext : UIContext with get
static function get SolutionHasSingleProjectContext () : UIContext
Property Value
Type: Microsoft.VisualStudio.Shell.UIContext
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.