ComUtilities.EnumerableFrom Method (IVsEnumTaskItems)
Gets a .NET-style enumerator (IEnumerable<IVsTaskItem>) 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 IVsEnumTaskItems _
) As IEnumerable(Of IVsTaskItem)
public static IEnumerable<IVsTaskItem> EnumerableFrom(
IVsEnumTaskItems enumerator
)
public:
static IEnumerable<IVsTaskItem^>^ EnumerableFrom(
IVsEnumTaskItems^ enumerator
)
static member EnumerableFrom :
enumerator:IVsEnumTaskItems -> IEnumerable<IVsTaskItem>
public static function EnumerableFrom(
enumerator : IVsEnumTaskItems
) : IEnumerable<IVsTaskItem>
Parameters
enumerator
Type: Microsoft.VisualStudio.Shell.Interop.IVsEnumTaskItemsThe Visual-Studio COM enumeration (IVsEnumTaskItems).
Return Value
Type: IEnumerable<IVsTaskItem>
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.