ShellUtility.FindFilesInSolution Method (IncludeInResultsCallback, 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 ( _
callback As IncludeInResultsCallback, _
serviceProvider As IServiceProvider, _
includeInvisibleNodes As Boolean _
) As Collection(Of String)
[CLSCompliantAttribute(false)]
public static Collection<string> FindFilesInSolution(
IncludeInResultsCallback callback,
IServiceProvider serviceProvider,
bool includeInvisibleNodes
)
[CLSCompliantAttribute(false)]
public:
static Collection<String^>^ FindFilesInSolution(
IncludeInResultsCallback^ callback,
IServiceProvider^ serviceProvider,
bool includeInvisibleNodes
)
[<CLSCompliantAttribute(false)>]
static member FindFilesInSolution :
callback:IncludeInResultsCallback *
serviceProvider:IServiceProvider *
includeInvisibleNodes:bool -> Collection<string>
public static function FindFilesInSolution(
callback : IncludeInResultsCallback,
serviceProvider : IServiceProvider,
includeInvisibleNodes : boolean
) : Collection<String>
Parameters
callback
Type: Microsoft.VisualStudio.Modeling.Shell.IncludeInResultsCallbackA method that can determine whether a given file should be included in the result set.
serviceProvider
Type: IServiceProviderServiceProvider containing the SVsSolution service.
includeInvisibleNodes
Type: BooleanTrue to include invisible nodes, false otherwise.
Return Value
Type: Collection<String>
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.