FAreaTypeConverterCanConvertTo Method

Return a value indicating whether this converter can convert to the specified destination type.

Definition

Namespace: Geometry
Assembly: Geometry (in Geometry.dll) Version: 25.2414.4032
C#
public virtual bool CanConvertTo(
	ITypeDescriptorContext context,
	Type destinationType
)

Parameters

context  ITypeDescriptorContext
Context to inspect.
destinationType  Type
Destination type to query for.

Return Value

Boolean
True if this type converter is able to convert to the specified type. Otherwise, false.

Remarks

Overridden specifically to support serialization in JSON.NET. If string type is disallowed, string serialization won't be affected.

See Also