Returns a value indicating whether the converter can convert from the type specified to the SizeD type, using the specified context.

Namespace:  EGIS.ShapeFileLib
Assembly:  EGIS.ShapeFileLib (in EGIS.ShapeFileLib.dll)

Syntax

Visual Basic
Public Overrides Function CanConvertFrom ( _
	context As ITypeDescriptorContext, _
	sourceType As Type _
) As Boolean
C#
public override bool CanConvertFrom(
	ITypeDescriptorContext context,
	Type sourceType
)
Visual C++
public:
virtual bool CanConvertFrom(
	ITypeDescriptorContext^ context, 
	Type^ sourceType
) override
JavaScript
function canConvertFrom(context, sourceType);

Parameters

context
Type: System.ComponentModel..::..ITypeDescriptorContext
An ITypeDescriptorContext through which additional context can be supplied.
sourceType
Type: System..::..Type
A Type the represents the type you wish to convert from.

Return Value

true to indicate the conversion can be performed; otherwise, false.

See Also