Partilhar via


DocData.QueryEditFile Method

Alerts listeners that a document is about to be edited. Listeners can vote against the edit.

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

Syntax

'Declaração
Public Function QueryEditFile As QueryEditResult
public QueryEditResult QueryEditFile()
public:
QueryEditResult QueryEditFile()
member QueryEditFile : unit -> QueryEditResult 
public function QueryEditFile() : QueryEditResult

Return Value

Type: Microsoft.VisualStudio.Modeling.Shell.QueryEditResult
The QueryEditResult object.

Remarks

This method implements the IVsQueryEditQuerySave2 interface.

This method performs a QueryEditFiles call on the document.

.NET Framework Security

See Also

Reference

DocData Class

QueryEditFile Overload

Microsoft.VisualStudio.Modeling.Shell Namespace