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
value
Type: System.ObjectThe value to convert.
targetType
Type: System.TypeThe target type.
parameter
Type: System.ObjectParameters relevant to conversion.
culture
Type: System.Globalization.CultureInfoCulture 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
- 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.