Share via


ImageSourceValueConverter.Convert Method

Converts the specified value to the specified target type.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.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

  • parameter
    Type: System.Object

    Parameters relevant to conversion.

Return Value

Type: System.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