Compartilhar via


VSQUERYRENAMEFILEFLAGS Enumeration

Flags associated with IVsTrackProjectDocumentsEvents2.OnQueryRenameFiles and IVsTrackProjectDocuments2.OnQueryRenameFiles.

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

'Declaration
<FlagsAttribute> _
Public Enumeration VSQUERYRENAMEFILEFLAGS
[FlagsAttribute]
public enum VSQUERYRENAMEFILEFLAGS
[FlagsAttribute]
public enum class VSQUERYRENAMEFILEFLAGS
[<FlagsAttribute>]
type VSQUERYRENAMEFILEFLAGS
public enum VSQUERYRENAMEFILEFLAGS

Members

Member name Description
VSQUERYRENAMEFILEFLAGS_Directory Rename refers to a disk directory, not a file. Callers are encouraged to use the OnQueryRenameDirectories method to provide this information instead of using this flag with OnQueryRenameFiles.
VSQUERYRENAMEFILEFLAGS_IsNestedProjectFile Nested project (file), for example, the file sitting on the root node of a nested project.
VSQUERYRENAMEFILEFLAGS_IsSpecialFile "Special" file, for example, an invisible file associated with another file in the project.
VSQUERYRENAMEFILEFLAGS_NoFlags No flags.

Remarks

COM Signature

From IVsTrackProjectDocumentsEvents2.idl:

typedef enum VSQUERYRENAMEFILEFLAGS
{
   VSQUERYRENAMEFILEFLAGS_NoFlags             = 0,
   VSQUERYRENAMEFILEFLAGS_IsSpecialFile       = 1,
   VSQUERYRENAMEFILEFLAGS_IsNestedProjectFile = 2,
   VSQUERYRENAMEFILEFLAGS_Directory           = 0x00000020
} VSQUERYRENAMEFILEFLAGS;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace