次の方法で共有


GenericTypeArgumentConverter.Convert メソッド

定義

指定されたジェネリック型の指定されたパラメーター位置の型引数を返します。

public:
 virtual System::Object ^ Convert(System::Object ^ value, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert (object value, 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 (value As Object, targetType As Type, parameter As Object, culture As CultureInfo) As Object

パラメーター

value
Object

型引数を取得する対象である、バインディング ソースのジェネリック型。

targetType
Type

バインディング ターゲット プロパティの型。

parameter
Object

取得する型引数の 0 から始まる位置。 この位置は、ジェネリック型の型引数のリスト内における引数の位置に対応しています。

culture
CultureInfo

カルチャ情報。

戻り値

型引数。

実装

適用対象