Share via


ProjectDocumentsListener.OnQueryAddFiles Method

This method does nothing.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Project.MPF
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Overridable Function OnQueryAddFiles ( _
    pProject As IVsProject, _
    cFiles As Integer, _
    rgpszMkDocuments As String(), _
    rgFlags As VSQUERYADDFILEFLAGS(), _
    pSummaryResult As VSQUERYADDFILERESULTS(), _
    rgResults As VSQUERYADDFILERESULTS() _
) As Integer
'Usage
Dim instance As ProjectDocumentsListener
Dim pProject As IVsProject
Dim cFiles As Integer
Dim rgpszMkDocuments As String()
Dim rgFlags As VSQUERYADDFILEFLAGS()
Dim pSummaryResult As VSQUERYADDFILERESULTS()
Dim rgResults As VSQUERYADDFILERESULTS()
Dim returnValue As Integer

returnValue = instance.OnQueryAddFiles(pProject, _
    cFiles, rgpszMkDocuments, rgFlags, _
    pSummaryResult, rgResults)
public virtual int OnQueryAddFiles(
    IVsProject pProject,
    int cFiles,
    string[] rgpszMkDocuments,
    VSQUERYADDFILEFLAGS[] rgFlags,
    VSQUERYADDFILERESULTS[] pSummaryResult,
    VSQUERYADDFILERESULTS[] rgResults
)
public:
virtual int OnQueryAddFiles(
    IVsProject^ pProject, 
    int cFiles, 
    array<String^>^ rgpszMkDocuments, 
    array<VSQUERYADDFILEFLAGS>^ rgFlags, 
    array<VSQUERYADDFILERESULTS>^ pSummaryResult, 
    array<VSQUERYADDFILERESULTS>^ rgResults
)
public function OnQueryAddFiles(
    pProject : IVsProject, 
    cFiles : int, 
    rgpszMkDocuments : String[], 
    rgFlags : VSQUERYADDFILEFLAGS[], 
    pSummaryResult : VSQUERYADDFILERESULTS[], 
    rgResults : VSQUERYADDFILERESULTS[]
) : int
abstract OnQueryAddFiles : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgFlags:VSQUERYADDFILEFLAGS[] * 
        pSummaryResult:VSQUERYADDFILERESULTS[] * 
        rgResults:VSQUERYADDFILERESULTS[] -> int 
override OnQueryAddFiles : 
        pProject:IVsProject * 
        cFiles:int * 
        rgpszMkDocuments:string[] * 
        rgFlags:VSQUERYADDFILEFLAGS[] * 
        pSummaryResult:VSQUERYADDFILERESULTS[] * 
        rgResults:VSQUERYADDFILERESULTS[] -> int 

Parameters

Return Value

Type: System.Int32

Implements

IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(IVsProject, Int32, array<String[], array<VSQUERYADDFILEFLAGS[], array<VSQUERYADDFILERESULTS[], array<VSQUERYADDFILERESULTS[])

.NET Framework Security

See Also

Reference

ProjectDocumentsListener Class

ProjectDocumentsListener Members

Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace