UndoContext::IsOpen Property
Visual Studio 2015
Gets whether an undo operation is currently in effect or if a solution is open.
Assembly: EnvDTE (in EnvDTE.dll)
Property Value
Type: System::BooleanA Boolean value indicating true if an undo operation is in effect or if a solution is open, false if not.
An undo operation is in effect if the UndoContext object is open.
An open solution does not necessarily have a solution (.sln) file, because it might not have been saved yet.
Show: