Condividi tramite


tagVSQueryEditFlags Enum

Definition

This enumeration specifies flags that control how files are to be edited in memory. These flags are passed to the QueryEditFiles(UInt32, Int32, String[], UInt32[], VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32, UInt32) method.

This enumeration supports a bitwise combination of its member values.

public enum class tagVSQueryEditFlags
public enum class tagVSQueryEditFlags
enum tagVSQueryEditFlags
[System.Flags]
public enum tagVSQueryEditFlags
[<System.Flags>]
type tagVSQueryEditFlags = 
Public Enum tagVSQueryEditFlags
Inheritance
tagVSQueryEditFlags
Attributes

Fields

Name Value Description
QEF_AllowInMemoryEdits 0

Allows files to be edited in memory.

QEF_ForceInMemoryEdits 1

Allows files to be edited in memory regardless of other conditions that would prevent this. This value overrides the Options dialog box setting.

QEF_DisallowInMemoryEdits 2

Disallows files from being edited in memory, regardless of the Options dialog box settings.

QEF_SilentMode 4

Silent operations may be performed to make files editable; however, no UI is displayed.

QEF_ImplicitEdit 8

This flag disables the Cancel button on the checkout dialog box. The cancel action is interpreted as the user choice for allowing in-memory editing. This flag is primarily for internal use. Use carefully, or not at all.

QEF_ReportOnly 16

No user interface (UI) is displayed, and no action is taken. Return values indicate whether an edit would be allowed, with respect to user interaction, option settings, and external conditions.

QEF_NoReload 32

Disallows edit if it would cause a reload to occur.

QEF_ForceEdit_NoPrompting 64

Perform operations to make files editable, regardless of option settings and without user interaction.

Remarks

The QEF_ForceEdit_NoPrompting flag differs from the QEF_SilentMode flag in that it does not always respect the user's Options settings. Thus, it should be used with caution and only under special circumstances when the user will not be offended if his or her preferences are overridden. Additionally, when forcing edits with the new flag, QueryEditFiles may choose to allow an edit to proceed in memory. If in-memory edits are not desired, then the caller should also pass in the QEF_DisallowInMemoryEdits flag.

Applies to