Partager via


_Solution.IsOpen Property

Determines if a solution is open.

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

Syntax

'Declaration
ReadOnly Property IsOpen As Boolean
bool IsOpen { get; }
property bool IsOpen {
    bool get ();
}
abstract IsOpen : bool with get
function get IsOpen () : boolean

Property Value

Type: System.Boolean
true if a solution is open; otherwise, false.

Remarks

An open solution does not necessarily have a solution (.sln) file, because it might not have been saved yet.

.NET Framework Security

See Also

Reference

_Solution Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples