Share via


ShellUtility.FindFilesInSolution Method (IList<String>, IServiceProvider, Boolean)

Find files of a given extension in the current solution.

This API is not CLS-compliant. 

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function FindFilesInSolution ( _
    fileExtensions As IList(Of String), _
    serviceProvider As IServiceProvider, _
    includeInvisibleNodes As Boolean _
) As Collection(Of String)
[CLSCompliantAttribute(false)]
public static Collection<string> FindFilesInSolution(
    IList<string> fileExtensions,
    IServiceProvider serviceProvider,
    bool includeInvisibleNodes
)
[CLSCompliantAttribute(false)]
public:
static Collection<String^>^ FindFilesInSolution(
    IList<String^>^ fileExtensions, 
    IServiceProvider^ serviceProvider, 
    bool includeInvisibleNodes
)
[<CLSCompliantAttribute(false)>]
static member FindFilesInSolution : 
        fileExtensions:IList<string> * 
        serviceProvider:IServiceProvider * 
        includeInvisibleNodes:bool -> Collection<string> 
public static function FindFilesInSolution(
    fileExtensions : IList<String>, 
    serviceProvider : IServiceProvider, 
    includeInvisibleNodes : boolean
) : Collection<String>

Parameters

  • fileExtensions
    Type: IList<String>

    The extensions of files to search for.

  • serviceProvider
    Type: IServiceProvider

    ServiceProvider containing the SVsSolution service.

  • includeInvisibleNodes
    Type: Boolean

    True to include invisible nodes, false otherwise.

Return Value

Type: Collection<String>

.NET Framework Security

See Also

Reference

ShellUtility Class

FindFilesInSolution Overload

Microsoft.VisualStudio.Modeling.Shell Namespace