Freigeben über


ShellUtility.FindOpenedFiles Method (IncludeInResultsCallback, IServiceProvider)

Finds opened files in the solution that match according to the given callback.

This API is not CLS-compliant. 

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

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function FindOpenedFiles ( _
    callback As IncludeInResultsCallback, _
    serviceProvider As IServiceProvider _
) As Collection(Of String)
[CLSCompliantAttribute(false)]
public static Collection<string> FindOpenedFiles(
    IncludeInResultsCallback callback,
    IServiceProvider serviceProvider
)
[CLSCompliantAttribute(false)]
public:
static Collection<String^>^ FindOpenedFiles(
    IncludeInResultsCallback^ callback, 
    IServiceProvider^ serviceProvider
)
[<CLSCompliantAttribute(false)>]
static member FindOpenedFiles : 
        callback:IncludeInResultsCallback * 
        serviceProvider:IServiceProvider -> Collection<string> 
public static function FindOpenedFiles(
    callback : IncludeInResultsCallback, 
    serviceProvider : IServiceProvider
) : Collection<String>

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

ShellUtility Class

FindOpenedFiles Overload

Microsoft.VisualStudio.Modeling.Shell Namespace