Share via


GenericTypeParameterConverter.IValueConverter.Convert Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Converts a value to a generic collection class of the given value.

Namespace:  System.Activities.Design.Core
Assembly:  System.Activities.Design.Base (in System.Activities.Design.Base.dll)

Syntax

'Declaration
Private Function Convert ( _
    value As Object, _
    convertToType As Type, _
    containerParameter As Object, _
    culture As CultureInfo _
) As Object Implements IValueConverter.Convert
'Usage
Dim instance As GenericTypeParameterConverter
Dim value As Object
Dim convertToType As Type
Dim containerParameter As Object
Dim culture As CultureInfo
Dim returnValue As Object

returnValue = CType(instance, IValueConverter).Convert(value, _
    convertToType, containerParameter, _
    culture)
Object IValueConverter.Convert(
    Object value,
    Type convertToType,
    Object containerParameter,
    CultureInfo culture
)
private:
virtual Object^ Convert(
    Object^ value, 
    Type^ convertToType, 
    Object^ containerParameter, 
    CultureInfo^ culture
) sealed = IValueConverter::Convert
JScript does not support explicit interface implementations.
private abstract Convert : 
        value:Object * 
        convertToType:Type * 
        containerParameter:Object * 
        culture:CultureInfo -> Object 
private override Convert : 
        value:Object * 
        convertToType:Type * 
        containerParameter:Object * 
        culture:CultureInfo -> Object 

Parameters

  • convertToType
    Type: System.Type
    The type of the binding target property.
  • containerParameter
    Type: System.Object
    The converter parameter to use.

Return Value

Type: System.Object
Returns A Object that contains the converted value. If the method returns nulla null reference (Nothing in Visual Basic), the valid nulla null reference (Nothing in Visual Basic) value is used. .

Implements

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

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

GenericTypeParameterConverter Class

GenericTypeParameterConverter Members

System.Activities.Design.Core Namespace