Condividi tramite


ValueConverter<TSource, TTarget>.Convert Method (TSource, Object, CultureInfo)

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

Syntax

'Dichiarazione
Protected Overridable Function Convert ( _
    value As TSource, _
    parameter As Object, _
    culture As CultureInfo _
) As TTarget
'Utilizzo
Dim value As TSource
Dim parameter As Object
Dim culture As CultureInfo
Dim returnValue As TTarget

returnValue = Me.Convert(value, parameter, _
    culture)
protected virtual TTarget Convert(
    TSource value,
    Object parameter,
    CultureInfo culture
)
protected:
virtual TTarget Convert(
    TSource value, 
    Object^ parameter, 
    CultureInfo^ culture
)
abstract Convert : 
        value:'TSource * 
        parameter:Object * 
        culture:CultureInfo -> 'TTarget 
override Convert : 
        value:'TSource * 
        parameter:Object * 
        culture:CultureInfo -> 'TTarget 
protected function Convert(
    value : TSource, 
    parameter : Object, 
    culture : CultureInfo
) : TTarget

Parameters

Return Value

Type: TTarget

.NET Framework Security

See Also

Reference

ValueConverter<TSource, TTarget> Class

ValueConverter<TSource, TTarget> Members

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace