次の方法で共有


ComUtilities.EnumerableFrom Method (IVsUIEnumDataSourceProperties)

Gets a .NET-style enumerator (IEnumerable<VsUIPropertyDescriptor>) 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 IVsUIEnumDataSourceProperties _
) As IEnumerable(Of VsUIPropertyDescriptor)
public static IEnumerable<VsUIPropertyDescriptor> EnumerableFrom(
    IVsUIEnumDataSourceProperties enumerator
)

Parameters

Return Value

Type: System.Collections.Generic.IEnumerable<VsUIPropertyDescriptor>
The .NET-style enumerator.

.NET Framework Security

See Also

Reference

ComUtilities Class

EnumerableFrom Overload

Microsoft.VisualStudio.Shell Namespace