DocData.QuerySaveFile Method

Alerts listeners that a file is about to be saved.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)

Syntax

'宣言
Public Function QuerySaveFile As QuerySaveResult
'使用
Dim instance As DocData
Dim returnValue As QuerySaveResult

returnValue = instance.QuerySaveFile()
public QuerySaveResult QuerySaveFile()
public:
QuerySaveResult QuerySaveFile()
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.

Permissions

See Also

Reference

DocData Class

DocData Members

QuerySaveFile Overload

Microsoft.VisualStudio.Modeling.Shell Namespace