Share via


tagVSQEQSFlags Enum

Definition

Specifies how file attributes are handled by the IVsQueryEditQuerySave2 interface.

This enumeration supports a bitwise combination of its member values.

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

Fields

Name Value Description
VSQEQS_FileInfo 1

Specifies 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(UInt32, Int32, String[], UInt32[], VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32, UInt32), QuerySaveFile(String, UInt32, VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32), or QuerySaveFiles(UInt32, Int32, String[], UInt32[], VSQEQS_FILE_ATTRIBUTE_DATA[], UInt32), this information will be provided. Use the SVsQueryEditQuerySave service to access these methods.

VSQEQS_AllowCheckout 2

Deprecated flag: ignored.

VSQEQS_NoSaveAs 4

Deprecated flag: ignored.

Remarks

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.

Applies to