This documentation is archived and is not being maintained.

tagVSQueryEditResultFlags 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 (in microsoft.visualstudio.shell.interop.dll)

[FlagsAttribute] 
public enum tagVSQueryEditResultFlags
/** @attribute FlagsAttribute() */ 
public enum tagVSQueryEditResultFlags
FlagsAttribute 
public enum tagVSQueryEditResultFlags

 Member nameDescription
QER_CheckoutCanceledOrFailedEdit not allowed because checkout failed. 
QER_EditNotPossibleEdit will never be allowed because of current option settings or external conditions. 
QER_InMemoryEditSafe to edit files in memory. 
QER_InMemoryEditNotAllowedEdit denied because in-memory edit not allowed. 
QER_MaybeChangedFiles changed on checkout. 
QER_MaybeCheckedoutFiles checked-out to edit. 
QER_NoisyCheckoutRequiredSilent mode operation does not permit UI. 
QER_NoisyPromptRequiredSilent mode operation does not permit UI. 
QER_ReadOnlyNotUnderSccEdit not allowed because file is read-only on disk. 
QER_ReadOnlyUnderSccEdit not allowed because file is read-only and under source control (probably checked in). 

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.

Show: