tagVSQEQSFlags Enumeration

Specifies how file attributes are handled by the IVsQueryEditQuerySave2 interface.

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 (in Microsoft.VisualStudio.Shell.Interop.dll)

[FlagsAttribute]
public enum tagVSQEQSFlags

Member nameDescription
VSQEQS_FileInfoSpecifies whether the file attributes are valid. This value is used for optimization and indicates that the members of the corresponding VSQEQS_FILE_ATTRIBUTE_DATA structure are valid, thus avoiding having to query the disk for file attributes. A caller can use this value if it has recent file information; otherwise, leave the flag un-set, and when you call QueryEditFiles, QuerySaveFile, or QuerySaveFiles, this information will be provided. Use the SVsQueryEditQuerySave service to access these methods.
VSQEQS_AllowCheckoutDeprecated flag: ignored.
VSQEQS_NoSaveAsDeprecated flag: ignored.

VSQEQS_FileInfo is an optimization. It indicates that the members of the corresponding VSQEQS_FILE_ATTRIBUTE_DATA are valid and thus a call to FindFirstFile (or GetFileAttributesEx on NT) is unnecessary. A caller can use this if it has "recent" file information; otherwise SVsQueryEditQuerySave acquires the information.

Community Additions

ADD
Show: