Share via


TextFormattingConverter.Convert Method

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

Converts the specified parameter into a string.

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

Syntax

'Declaration
Public Function Convert ( _
    value As Object, _
    targetType As Type, _
    parameter As Object, _
    culture As CultureInfo _
) As Object
'Usage
Dim instance As TextFormattingConverter
Dim value As Object
Dim targetType As Type
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As Object

returnValue = instance.Convert(value, _
    targetType, parameter, culture)
public Object Convert(
    Object value,
    Type targetType,
    Object parameter,
    CultureInfo culture
)
public:
virtual Object^ Convert(
    Object^ value, 
    Type^ targetType, 
    Object^ parameter, 
    CultureInfo^ culture
) sealed
public final function Convert(
    value : Object, 
    targetType : Type, 
    parameter : Object, 
    culture : CultureInfo
) : Object
abstract Convert : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object 
override Convert : 
        value:Object * 
        targetType:Type * 
        parameter:Object * 
        culture:CultureInfo -> Object 

Parameters

  • value
    Type: System.Object
    The value that is produced by the binding target.

Return Value

Type: System.Object
Returns Object.

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

TextFormattingConverter Class

TextFormattingConverter Members

System.Activities.Design Namespace