HierarchyNode.GetQueryAddFileFlags Method

Sets the flags to be used to add the specified set of files.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Protected Friend Overridable Function GetQueryAddFileFlags ( _
    files As String() _
) As VSQUERYADDFILEFLAGS()
'使用
Dim files As String()
Dim returnValue As VSQUERYADDFILEFLAGS()

returnValue = Me.GetQueryAddFileFlags(files)
protected internal virtual VSQUERYADDFILEFLAGS[] GetQueryAddFileFlags(
    string[] files
)
protected public:
virtual array<VSQUERYADDFILEFLAGS>^ GetQueryAddFileFlags(
    array<String^>^ files
)
protected internal function GetQueryAddFileFlags(
    files : String[]
) : VSQUERYADDFILEFLAGS[]

Parameters

  • files
    Type: []

    The names of the files to add.

Return Value

Type: []

If there are 0 or 1 filenames in the array, returns an array of 1 VSQUERYADDFILEFLAGS_NoFlags. Otherwise, returns an array of VSQUERYADDFILEFLAGS_NoFlags that is the same size as the array.

Remarks

The returned flags are used to call [M:Microsoft.VisualStudio.Shell.Interop.IVsTrackProjectDocumentsEvents2.OnQueryAddFiles(T:Microsoft.VisualStudio.Shell.Interop.IVsProject pProject, int cFiles, string[] rgpszMkDocuments, T:Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILEFLAGS[] rgFlags, T:Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILERESULTS[] pSummaryResult, T:Microsoft.VisualStudio.Shell.Interop.VSQUERYADDFILERESULTS[] rgResults)].

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace