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