ValueConverter.CheckTypeSupported(Type, Type, Type[]) Method

Definition

Checks that the type used with a value converter is supported by that converter and throws if not.

protected static Type CheckTypeSupported (Type type, Type converterType, params Type[] supportedTypes);
static member CheckTypeSupported : Type * Type * Type[] -> Type
Protected Shared Function CheckTypeSupported (type As Type, converterType As Type, ParamArray supportedTypes As Type()) As Type

Parameters

type
Type

The type to check.

converterType
Type

The value converter type.

supportedTypes
Type[]

The types that are supported.

Returns

The given type.

Applies to