ValueConversionAttribute(Type, Type) コンストラクター

定義

指定したソース型とターゲット型を使用して、 ValueConversionAttribute クラスの新しいインスタンスを初期化します。

public:
 ValueConversionAttribute(Type ^ sourceType, Type ^ targetType);
public ValueConversionAttribute(Type sourceType, Type targetType);
new System.Windows.Data.ValueConversionAttribute : Type * Type -> System.Windows.Data.ValueConversionAttribute
Public Sub New (sourceType As Type, targetType As Type)

パラメーター

sourceType
Type

このコンバーターが変換する型。

targetType
Type

コンバーターが変換する型。

例外

targetType パラメーターをnullすることはできません。

適用対象

こちらもご覧ください