Source::IsClosed Property

 

Gets the current state of the source file.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
property bool IsClosed {
	bool get();
}

Property Value

Type: System::Boolean

true if the source file is closed; otherwise false.

The source file is considered closed if the Dispose method has been called. A Source object is closed when all views on that object are closed.

Return to top
Show: