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)
Syntax
'宣言
<FlagsAttribute> _
Public Enumeration tagVSQEQSFlags
'使用
Dim instance As tagVSQEQSFlags
[FlagsAttribute]
public enum tagVSQEQSFlags
[FlagsAttribute]
public enum class tagVSQEQSFlags
public enum tagVSQEQSFlags
Members
Member name | Description | |
---|---|---|
VSQEQS_FileInfo | 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, QuerySaveFile, or QuerySaveFiles, this information will be provided. Use the SVsQueryEditQuerySave service to access these methods. | |
VSQEQS_AllowCheckout | Deprecated flag: ignored. | |
VSQEQS_NoSaveAs | 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.