AlternationConverter.Convert(Object, Type, Object, CultureInfo) Method
Definition
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.
Converts an integer to an object in the Values list.
public:
virtual System::Object ^ Convert(System::Object ^ o, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object o, 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 (o As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object
Parameters
- targetType
- Type
The type of the binding target property.
- parameter
- Object
The converter parameter to use.
- culture
- CultureInfo
The culture to use in the converter.
Returns
The object that is in the position of o
modulo the number of items in Values.
Implements
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.