HierarchyNode.GetQueryRemoveFileFlags Method

Sets the flags to be used to removed the specified files.

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

Syntax

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

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

Parameters

  • files
    Type: []

    The names of the files to remove.

Return Value

Type: []

By default, returns an array of VSQUERYREMOVEFILEFLAGS_NoFlags() of the same size as the array of files.

Remarks

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

Permissions

See Also

Reference

HierarchyNode Class

HierarchyNode Members

Microsoft.VisualStudio.Package Namespace