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.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Public Shared Function EnumerableFrom ( _
enumerator As IVsUIEnumDataSourceProperties _
) As IEnumerable(Of VsUIPropertyDescriptor)
public static IEnumerable<VsUIPropertyDescriptor> EnumerableFrom(
IVsUIEnumDataSourceProperties enumerator
)
public:
static IEnumerable<VsUIPropertyDescriptor>^ EnumerableFrom(
IVsUIEnumDataSourceProperties^ enumerator
)
static member EnumerableFrom :
enumerator:IVsUIEnumDataSourceProperties -> IEnumerable<VsUIPropertyDescriptor>
public static function EnumerableFrom(
enumerator : IVsUIEnumDataSourceProperties
) : IEnumerable<VsUIPropertyDescriptor>
Parameters
enumerator
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIEnumDataSourcePropertiesThe Visual-Studio COM enumeration (IVsUIEnumDataSourceProperties).
Return Value
Type: IEnumerable<VsUIPropertyDescriptor>
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.