IPeekResultPresentation::TryPrepareToClose Method ()
Visual Studio 2015
Prepare to close the presentation.
Assembly: Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)
Return Value
Type: System::BooleanReturns true if the presentation is allowed to close; false otherwise.
This method is called with the presentation is explicitly being closed to give the user, if the presentation corresponds to a modified document, the opportunity to save the document if desired. If this method returns <c>true</c>, the caller must close the presentation (typically by dismissing the containing peek session).
Show: