ShellUtility.FindOpenedFiles Method (IList<String>, IServiceProvider)
Finds opened files in the solution that end in one of the given file extensions
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
'Declaración
<CLSCompliantAttribute(False)> _
Public Shared Function FindOpenedFiles ( _
fileExtensions As IList(Of String), _
serviceProvider As IServiceProvider _
) As Collection(Of String)
[CLSCompliantAttribute(false)]
public static Collection<string> FindOpenedFiles(
IList<string> fileExtensions,
IServiceProvider serviceProvider
)
[CLSCompliantAttribute(false)]
public:
static Collection<String^>^ FindOpenedFiles(
IList<String^>^ fileExtensions,
IServiceProvider^ serviceProvider
)
[<CLSCompliantAttribute(false)>]
static member FindOpenedFiles :
fileExtensions:IList<string> *
serviceProvider:IServiceProvider -> Collection<string>
public static function FindOpenedFiles(
fileExtensions : IList<String>,
serviceProvider : IServiceProvider
) : Collection<String>
Parameters
- fileExtensions
Type: System.Collections.Generic.IList<String>
The file extensions of files to find
- serviceProvider
Type: System.IServiceProvider
ServiceProvider providing the IVsRunningDocumentTable service.
Return Value
Type: System.Collections.ObjectModel.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.