語言

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

定義

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

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

參數

o
Object

用來在屬性中 Values 尋找物件的整數。

targetType
Type

結合目標屬性的類型。

parameter
Object

轉換器參數要用。

culture
CultureInfo

培養物要用於轉換器。

傳回

位於 的位置 o 的物件模中項目 Values數量。

實作

適用於