Partager via


VSQUERYADDFILERESULTS Enumeration

Flags returned by the environment in the IVsTrackProjectDocuments2.OnQueryAddFiles and the IVsTrackProjectDocumentsEvents2.OnQueryAddFiles methods. These flags indicate whether a project can add the file to the project.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Declaration
Public Enumeration VSQUERYADDFILERESULTS
public enum VSQUERYADDFILERESULTS
public enum class VSQUERYADDFILERESULTS
type VSQUERYADDFILERESULTS
public enum VSQUERYADDFILERESULTS

Members

Member name Description
VSQUERYADDFILERESULTS_AddNotOK File cannot be added to the project.
VSQUERYADDFILERESULTS_AddOK File can be added to the project.

Remarks

COM Signature

From IVsTrackProjectDocumentsEvents2.idl:

typedef enum tagVSQUERYADDFILERESULTS
{
   VSQUERYADDFILERESULTS_AddOK    = 0,
   VSQUERYADDFILERESULTS_AddNotOK = 1
} VSQUERYADDFILERESULTS;

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace