ComUtilities.EnumerableFrom Method (IVsUIEnumDataSourceProperties)
Namespace: Microsoft.Internal.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Shared Function EnumerableFrom ( _
enumerator As IVsUIEnumDataSourceProperties _
) As IEnumerable(Of VsUIPropertyDescriptor)
'Utilisation
Dim enumerator As IVsUIEnumDataSourceProperties
Dim returnValue As IEnumerable(Of VsUIPropertyDescriptor)
returnValue = ComUtilities.EnumerableFrom(enumerator)
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.IVsUIEnumDataSourceProperties
Return Value
Type: System.Collections.Generic.IEnumerable<VsUIPropertyDescriptor>
.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.