DocData.QuerySaveFile Method
Alerts listeners that a file is about to be saved. Listeners can
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Public Function QuerySaveFile As QuerySaveResult
public QuerySaveResult QuerySaveFile()
public:
QuerySaveResult QuerySaveFile()
member QuerySaveFile : unit -> QuerySaveResult
public function QuerySaveFile() : QuerySaveResult
Return Value
Type: Microsoft.VisualStudio.Modeling.Shell.QuerySaveResult
The QuerySaveResult object.
Remarks
This method invokes the IVsQueryEditQuerySave2 interface.
This method performs a QuerySaveFiles call on the document.
.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.