Share via


ComUtilities.EnumerableFrom Method (IVsEnumSearchProviders)

Gets a .NET-style enumerator (IEnumerable<IVsSearchProvider>) from the specified Visual Studio COM enumeration interface.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Function EnumerableFrom ( _
    enumerator As IVsEnumSearchProviders _
) As IEnumerable(Of IVsSearchProvider)
public static IEnumerable<IVsSearchProvider> EnumerableFrom(
    IVsEnumSearchProviders enumerator
)
public:
static IEnumerable<IVsSearchProvider^>^ EnumerableFrom(
    IVsEnumSearchProviders^ enumerator
)
static member EnumerableFrom : 
        enumerator:IVsEnumSearchProviders -> IEnumerable<IVsSearchProvider> 
public static function EnumerableFrom(
    enumerator : IVsEnumSearchProviders
) : IEnumerable<IVsSearchProvider>

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<IVsSearchProvider>
The .NET-style enumerator.

.NET Framework Security

See Also

Reference

ComUtilities Class

EnumerableFrom Overload

Microsoft.VisualStudio.Shell Namespace