This documentation is archived and is not being maintained.

tagVSQueryEditResultFlags2 Enumeration

This enumeration specifies bitflags, returned from the QueryEditFiles method, that tell whether a file was checked out and/or changed.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in

public enum tagVSQueryEditResultFlags2
/** @attribute FlagsAttribute() */ 
public enum tagVSQueryEditResultFlags2
public enum tagVSQueryEditResultFlags2

 Member nameDescription
QER_ChangedThe QueryEditFiles operation caused check out from source control and a new version was retrieved. If the file is opened in the IDE, QER_Reloaded will also be retuned. 

Important QER_Changed is only returned when QEF_DetectAnyChangedFile flag is passed in the rgfQueryEdit argument to the QueryEditFiles call.

QER_ReloadedThe QueryEditFiles operation caused check out from source control, a new version was retrieved from the source control database, and the file was reloaded in memory (editor buffer or project/solution file). The caller may need to abort the initial operation that caused the edit if it cannot tolerate the newly reloaded content of the file—for example, if calculations made based on the content before the QueryEditFiles call may not apply to the new content).