Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell (in Microsoft.VisualStudio.Modeling.Sdk.Shell.dll)
Syntax
'宣言
<CLSCompliantAttribute(False)> _
Public Shared Function FindFilesInSolution ( _
fileExtensions As IList(Of String), _
serviceProvider As IServiceProvider, _
includeInvisibleNodes As Boolean _
) As Collection(Of String)
'使用
Dim fileExtensions As IList(Of String)
Dim serviceProvider As IServiceProvider
Dim includeInvisibleNodes As Boolean
Dim returnValue As Collection(Of String)
returnValue = ShellUtility.FindFilesInSolution(fileExtensions, _
serviceProvider, includeInvisibleNodes)
[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
)
public static function FindFilesInSolution(
fileExtensions : IList<String>,
serviceProvider : IServiceProvider,
includeInvisibleNodes : boolean
) : Collection<String>
Parameters
- fileExtensions
Type: System.Collections.Generic.IList<String>
- serviceProvider
Type: System.IServiceProvider
- includeInvisibleNodes
Type: System.Boolean
Return Value
Type: System.Collections.ObjectModel.Collection<String>
Permissions
- 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.