Partager via


ComUtilities.EnumerableFrom Method (IVsEnumGuids)

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

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

Syntax

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

Parameters

Return Value

Type: IEnumerable<Guid>
The .NET-style enumerator.

.NET Framework Security

See Also

Reference

ComUtilities Class

EnumerableFrom Overload

Microsoft.VisualStudio.Shell Namespace