ValueConverter.CheckTypeSupported(Type, Type, Type[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework