Share via


ImageSourceValueConverter.Convert Method

Converts the specified value to the specified target type.

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

Syntax

'Declaration
Public Function Convert ( _
    value As Object, _
    targetType As Type, _
    parameter As Object, _
    culture As CultureInfo _
) As Object
public Object Convert(
    Object value,
    Type targetType,
    Object parameter,
    CultureInfo culture
)
public:
virtual Object^ Convert(
    Object^ value, 
    Type^ targetType, 
    Object^ parameter, 
    CultureInfo^ culture
) sealed
abstract Convert : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object  
override Convert : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object
public final function Convert(
    value : Object, 
    targetType : Type, 
    parameter : Object, 
    culture : CultureInfo
) : Object

Parameters

  • value
    Type: Object

    The value to convert.

  • targetType
    Type: Type

    The target type.

  • parameter
    Type: Object

    Parameters relevant to conversion.

  • culture
    Type: CultureInfo

    Culture relevant to conversion.

Return Value

Type: Object
Returns a value of the target type.

Implements

IValueConverter.Convert(Object, Type, Object, CultureInfo)

.NET Framework Security

See Also

Reference

ImageSourceValueConverter Class

Microsoft.VisualStudio.PlatformUI Namespace