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
‘선언
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
- 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.