ValueConverter<TSource,TTarget>.Convert Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Convert(TSource, Object, CultureInfo) |
Microsoft internal use only. |
Convert(Object, Type, Object, CultureInfo) |
Microsoft internal use only. |
Microsoft internal use only.
C++
protected:
virtual TTarget Convert(TSource value, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
protected virtual TTarget Convert(TSource value, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : 'Source * obj * System.Globalization.CultureInfo -> 'arget
override this.Convert : 'Source * obj * System.Globalization.CultureInfo -> 'arget
Protected Overridable Function Convert (value As TSource, parameter As Object, culture As CultureInfo) As TTarget
Parameters
- value
- TSource
- parameter
- Object
- culture
- CultureInfo
Returns
TTarget
Returns {0}.
Applies to
Visual Studio SDK 2022 and other versions
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |
Microsoft internal use only.
C++
public:
virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- value
- Object
- targetType
- Type
- parameter
- Object
- culture
- CultureInfo
Returns
Implements
Applies to
Visual Studio SDK 2022 and other versions
Product | Versions |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |