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