共用方式為


ImageListValueConverter Class

Converts the given image list and an index in it into ImageSource.

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

Syntax

'宣告
Public Class ImageListValueConverter _
    Inherits MultiValueConverter(Of Integer, IList(Of ImageSource), ImageSource)
'用途
Dim instance As ImageListValueConverter
public class ImageListValueConverter : MultiValueConverter<int, IList<ImageSource>, ImageSource>
public ref class ImageListValueConverter : public MultiValueConverter<int, IList<ImageSource^>^, ImageSource^>
type ImageListValueConverter =  
    class
        inherit MultiValueConverter<int, IList<ImageSource>, ImageSource>
    end
public class ImageListValueConverter extends MultiValueConverter<int, IList<ImageSource>, ImageSource>

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.PlatformUI.MultiValueConverter<Int32, IList<ImageSource>, ImageSource>
    Microsoft.VisualStudio.PlatformUI.ImageListValueConverter

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ImageListValueConverter Members

Microsoft.VisualStudio.PlatformUI Namespace