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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Public Shared Function EnumerableFrom ( _
enumerator As IVsEnumGuids _
) As IEnumerable(Of Guid)
public static IEnumerable<Guid> EnumerableFrom(
IVsEnumGuids enumerator
)
Parameters
- enumerator
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumGuids
The Visual-Studio COM enumeration (IVsEnumGuids).
Return Value
Type: System.Collections.Generic.IEnumerable<Guid>
The .NET-style enumerator.
.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.