Share via


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

要在轉換子中使用的文化特性。

傳回

如果位於 Values,則為 o 的索引;如果 Values 中沒有 o,則為 -1。

實作

適用於