Share via


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 中項目個數所得餘數的物件。

實作

適用於