共用方式為


tagVSQueryEditResultFlags2 Enumeration

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

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

Syntax

'宣告
<FlagsAttribute> _
Public Enumeration tagVSQueryEditResultFlags2
'用途
Dim instance As tagVSQueryEditResultFlags2
[FlagsAttribute]
public enum tagVSQueryEditResultFlags2
[FlagsAttribute]
public enum class tagVSQueryEditResultFlags2
[<FlagsAttribute>]
type tagVSQueryEditResultFlags2
public enum tagVSQueryEditResultFlags2

Members

Member name Description
QER_Reloaded The 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).
QER_Changed The 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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace