Udostępnij za pośrednictwem


MultiValueConverterBase<TTarget>.ValidateConvertParameters Method

Definition

Validates the parameters passed to IMultiValueConverter.Convert

protected:
 bool ValidateConvertParameters(cli::array <System::Object ^> ^ values, Type ^ targetType);
protected:
 bool ValidateConvertParameters(Platform::Array <Platform::Object ^> ^ values, Platform::Type ^ targetType);
protected bool ValidateConvertParameters (object[] values, Type targetType);
member this.ValidateConvertParameters : obj[] * Type -> bool
Protected Function ValidateConvertParameters (values As Object(), targetType As Type) As Boolean

Parameters

values
Object[]

The values to convert

targetType
Type

The type to convert to

Returns

True if the conversion can continue, false if it cannot

Applies to