다음을 통해 공유


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.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

See Also

Reference

DocData Class

QuerySaveFile Overload

Microsoft.VisualStudio.Modeling.Shell Namespace