tagVSQueryEditResultFlags Enum

Definition

This enumeration specifies bitflags, returned from the QueryEditFiles(UInt32, Int32, String[], UInt32[], VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32, UInt32) method, that tell whether a file was checked out and/or changed.

This enumeration supports a bitwise combination of its member values.

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

Fields

QER_CheckoutCanceledOrFailed 32

Edit not allowed because checkout failed.

QER_EditNotPossible 64

Edit will never be allowed because of current option settings or external conditions.

QER_InMemoryEdit 4

Safe to edit files in memory.

QER_InMemoryEditNotAllowed 8

Edit denied because in-memory edit not allowed.

QER_MaybeChanged 2

Files changed on checkout.

QER_MaybeCheckedout 1

Files checked-out to edit.

QER_NoisyCheckoutRequired 16

Silent mode operation does not permit UI.

QER_NoisyPromptRequired 16

Silent mode operation does not permit UI.

QER_ReadOnlyNotUnderScc 128

Edit not allowed because file is read-only on disk.

QER_ReadOnlyUnderScc 256

Edit not allowed because file is read-only and under source control (probably checked in).

Remarks

The QER_NoisyCheckoutRequired and QER_NoisyPromptRequired flags are synonymous.

The QER_ReadOnlyNotUnderScc and QER_ReadOnlyUnderScc return flags are useful when calling QueryEditFiles in report mode. However, note that these flags are only set when an edit is denied. If QueryEditFiles approves an edit, the caller should make no assumption about whether the files are read-only or under source control. The approval merely indicates that, regardless of status, the files are ready to be modified.

Applies to