Partager via


ImageListValueConverter.Convert Method (Int32, IList<ImageSource>, Object, CultureInfo)

This member overrides MultiValueConverter<TSource1, TSource2, TTarget>.Convert(TSource1, TSource2, Object, CultureInfo).

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
Protected Overrides Function Convert ( _
    imageIndex As Integer, _
    imageList As IList(Of ImageSource), _
    parameter As Object, _
    culture As CultureInfo _
) As ImageSource
'Utilisation
Dim imageIndex As Integer
Dim imageList As IList(Of ImageSource)
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As ImageSource

returnValue = Me.Convert(imageIndex, _
    imageList, parameter, culture)
protected override ImageSource Convert(
    int imageIndex,
    IList<ImageSource> imageList,
    Object parameter,
    CultureInfo culture
)
protected:
virtual ImageSource^ Convert(
    int imageIndex, 
    IList<ImageSource^>^ imageList, 
    Object^ parameter, 
    CultureInfo^ culture
) override
abstract Convert : 
        imageIndex:int * 
        imageList:IList<ImageSource> * 
        parameter:Object * 
        culture:CultureInfo -> ImageSource 
override Convert : 
        imageIndex:int * 
        imageList:IList<ImageSource> * 
        parameter:Object * 
        culture:CultureInfo -> ImageSource 
protected override function Convert(
    imageIndex : int, 
    imageList : IList<ImageSource>, 
    parameter : Object, 
    culture : CultureInfo
) : ImageSource

Parameters

Return Value

Type: System.Windows.Media.ImageSource

.NET Framework Security

See Also

Reference

ImageListValueConverter Class

ImageListValueConverter Members

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace