RunningDocumentTable.QueryCloseRunningDocument(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the document can be closed.
public:
Microsoft::VisualStudio::Shell::QueryCloseResult QueryCloseRunningDocument(System::String ^ moniker);
public:
Microsoft::VisualStudio::Shell::QueryCloseResult QueryCloseRunningDocument(Platform::String ^ moniker);
Microsoft::VisualStudio::Shell::QueryCloseResult QueryCloseRunningDocument(std::wstring const & moniker);
public Microsoft.VisualStudio.Shell.QueryCloseResult QueryCloseRunningDocument (string moniker);
member this.QueryCloseRunningDocument : string -> Microsoft.VisualStudio.Shell.QueryCloseResult
Public Function QueryCloseRunningDocument (moniker As String) As QueryCloseResult
Parameters
- moniker
- String
The document moniker.
Returns
Returns the value of F:Microsoft.VisualStudio.QueryCloseResult.SaveCancelled.