Share via


RunningDocumentTable.QueryCloseRunningDocument Method

Determines whether the document can be closed.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Function QueryCloseRunningDocument ( _
    moniker As String _
) As QueryCloseResult
public QueryCloseResult QueryCloseRunningDocument(
    string moniker
)
public:
QueryCloseResult QueryCloseRunningDocument(
    String^ moniker
)
member QueryCloseRunningDocument : 
        moniker:string -> QueryCloseResult
public function QueryCloseRunningDocument(
    moniker : String
) : QueryCloseResult

Parameters

  • moniker
    Type: String

    The document moniker.

Return Value

Type: Microsoft.VisualStudio.Shell.QueryCloseResult
Returns the value of F:Microsoft.VisualStudio.QueryCloseResult.SaveCancelled.

.NET Framework Security

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace