Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SizeDConverter..::.CanConvertTo Method (ITypeDescriptorContext, Type)
SizeDConverter Class See Also Send Feedback

Returns a value indicating whether the SizeDConverter can convert a SizeD to the specified type.

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

# Syntax

Visual Basic (Declaration)
    Public Overrides Function CanConvertTo ( _
    	context As ITypeDescriptorContext, _
    	destinationType As Type _
    ) As Boolean

C#
    public override bool CanConvertTo(
    	ITypeDescriptorContext context,
    	Type destinationType
    )

Visual C++
    public:
    virtual bool CanConvertTo(
    	ITypeDescriptorContext^ context,
    	Type^ destinationType
    ) override

#### Parameters

context
  Type: System.ComponentModel..::.ITypeDescriptorContext
  An ITypeDescriptorContext through which additional context can be supplied.

destinationType
  Type: System..::.Type
  A Type that represents the type you want to convert from.

#### Return Value

true if this converter can perform the conversion otherwise, false.

# See Also

SizeDConverter Class
CanConvertTo Overload
EGIS.ShapeFileLib Namespace