AlternationConverter.ConvertBack(Object, Type, Object, CultureInfo) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將清單中的 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
參數
- targetType
- Type
結合目標屬性的類型。
- parameter
- Object
轉換器參數要用。
- culture
- CultureInfo
培養物要用於轉換器。
傳回
若 屬於 o,則 的Values索引為 ;若 o 不存在,Values則為 -1 。