語言

AlternationConverter.ConvertBack(Object, Type, Object, CultureInfo) 方法

定義

將清單中的 Values 物件轉換為整數。

public:
 virtual System::Object ^ ConvertBack(System::Object ^ o, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object ConvertBack(object o, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
override this.ConvertBack : obj * Type * obj * System.Globalization.CultureInfo -> obj
Public Function ConvertBack (o As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

參數

o
Object

該物件在物業 Values 中尋找。

targetType
Type

結合目標屬性的類型。

parameter
Object

轉換器參數要用。

culture
CultureInfo

培養物要用於轉換器。

傳回

若 屬於 o,則 的Values索引為 ;若 o 不存在,Values則為 -1 。

實作

適用於