Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
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.