Partilhar via


ShellUtility.FindFilesInSolution Method (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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)

Syntax

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

Parameters

  • fileExtension
    Type: System.String
    The extension of files to search for.
  • includeInvisibleNodes
    Type: System.Boolean
    True to include invisible nodes, false otherwise.

Return Value

Type: System.Collections.ObjectModel.Collection<String>

.NET Framework Security

See Also

Reference

ShellUtility Class

FindFilesInSolution Overload

Microsoft.VisualStudio.Modeling.Shell Namespace