Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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: StringThe document moniker.
Return Value
Type: Microsoft.VisualStudio.Shell.QueryCloseResult
Returns the value of F:Microsoft.VisualStudio.QueryCloseResult.SaveCancelled.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.