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
- pProject
Type: Microsoft.VisualStudio.Shell.Interop.IVsProject
Not used
- cFiles
Type: System.Int32
Not used
- rgpszMkDocuments
Type: array<System.String[]
Not used
- rgFlags
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILEFLAGS[]
Not used
- pSummaryResult
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILERESULTS[]
Not used
- rgResults
Type: array<Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILERESULTS[]
Not used
Return Value
Type: System.Int32
Implements
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
ProjectDocumentsListener Class
ProjectDocumentsListener Members
Microsoft.VisualStudio.Data.Schema.Project.Project.MPF Namespace