Udostępnij za pośrednictwem


RunningDocumentTable.QueryCloseRunningDocument(String) Method

Definition

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.

Applies to