ValueConversionAttribute(Type, Type) Constructor

Definición

Inicializa una nueva instancia de la ValueConversionAttribute clase con el tipo de origen y el tipo de destino especificados.

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)

Parámetros

sourceType
Type

Tipo que este convertidor convierte.

targetType
Type

Tipo al que este convertidor se convierte.

Excepciones

El targetType parámetro no puede ser null.

Se aplica a

Consulte también