Freigeben über


ShellUtility.FindFilesInSolution Method

Definition

Overloads

FindFilesInSolution(IncludeInResultsCallback, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindFilesInSolution(IList<String>, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindFilesInSolution(String, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

FindFilesInSolution(IncludeInResultsCallback, IServiceProvider, Boolean)

Important

This API is not CLS-compliant.

Find files of a given extension in the current solution.

public:
 static System::Collections::ObjectModel::Collection<System::String ^> ^ FindFilesInSolution(Microsoft::VisualStudio::Modeling::Shell::IncludeInResultsCallback ^ callback, IServiceProvider ^ serviceProvider, bool includeInvisibleNodes);
[System.CLSCompliant(false)]
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (Microsoft.VisualStudio.Modeling.Shell.IncludeInResultsCallback callback, IServiceProvider serviceProvider, bool includeInvisibleNodes);
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (Microsoft.VisualStudio.Modeling.Shell.IncludeInResultsCallback callback, IServiceProvider serviceProvider, bool includeInvisibleNodes);
[<System.CLSCompliant(false)>]
static member FindFilesInSolution : Microsoft.VisualStudio.Modeling.Shell.IncludeInResultsCallback * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
static member FindFilesInSolution : Microsoft.VisualStudio.Modeling.Shell.IncludeInResultsCallback * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
Public Shared Function FindFilesInSolution (callback As IncludeInResultsCallback, serviceProvider As IServiceProvider, includeInvisibleNodes As Boolean) As Collection(Of String)

Parameters

callback
IncludeInResultsCallback

A method that can determine whether a given file should be included in the result set.

serviceProvider
IServiceProvider

ServiceProvider containing the SVsSolution service.

includeInvisibleNodes
Boolean

True to include invisible nodes, false otherwise.

Returns

A list of files in the current solution that matched according to the given callback method.

Attributes

Applies to

FindFilesInSolution(IList<String>, IServiceProvider, Boolean)

Important

This API is not CLS-compliant.

Find files of a given extension in the current solution.

public:
 static System::Collections::ObjectModel::Collection<System::String ^> ^ FindFilesInSolution(System::Collections::Generic::IList<System::String ^> ^ fileExtensions, IServiceProvider ^ serviceProvider, bool includeInvisibleNodes);
[System.CLSCompliant(false)]
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (System.Collections.Generic.IList<string> fileExtensions, IServiceProvider serviceProvider, bool includeInvisibleNodes);
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (System.Collections.Generic.IList<string> fileExtensions, IServiceProvider serviceProvider, bool includeInvisibleNodes);
[<System.CLSCompliant(false)>]
static member FindFilesInSolution : System.Collections.Generic.IList<string> * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
static member FindFilesInSolution : System.Collections.Generic.IList<string> * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
Public Shared Function FindFilesInSolution (fileExtensions As IList(Of String), serviceProvider As IServiceProvider, includeInvisibleNodes As Boolean) As Collection(Of String)

Parameters

fileExtensions
IList<String>

The extensions of files to search for.

serviceProvider
IServiceProvider

ServiceProvider containing the SVsSolution service.

includeInvisibleNodes
Boolean

True to include invisible nodes, false otherwise.

Returns

A list of files in the current solution matching the given file extensions.

Attributes

Applies to

FindFilesInSolution(String, IServiceProvider, Boolean)

Important

This API is not CLS-compliant.

Find files of a given extension in the current solution.

public:
 static System::Collections::ObjectModel::Collection<System::String ^> ^ FindFilesInSolution(System::String ^ fileExtension, IServiceProvider ^ serviceProvider, bool includeInvisibleNodes);
[System.CLSCompliant(false)]
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (string fileExtension, IServiceProvider serviceProvider, bool includeInvisibleNodes);
public static System.Collections.ObjectModel.Collection<string> FindFilesInSolution (string fileExtension, IServiceProvider serviceProvider, bool includeInvisibleNodes);
[<System.CLSCompliant(false)>]
static member FindFilesInSolution : string * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
static member FindFilesInSolution : string * IServiceProvider * bool -> System.Collections.ObjectModel.Collection<string>
Public Shared Function FindFilesInSolution (fileExtension As String, serviceProvider As IServiceProvider, includeInvisibleNodes As Boolean) As Collection(Of String)

Parameters

fileExtension
String

The extension of files to search for.

serviceProvider
IServiceProvider

ServiceProvider containing the SVsSolution service.

includeInvisibleNodes
Boolean

True to include invisible nodes, false otherwise.

Returns

A list of files in the current solution matching the given file extension.

Attributes

Applies to