ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

GenericTypeConverter.CanConvertTo Method

Overloaded. Returns whether this converter can convert the object to the specified type.

[Visual Basic]

Overrides Public Function CanConvertTo( _

ByVal context As ITypeDescriptorContext, _

ByVal type As Type _

) As Boolean

[C#]

override public bool CanConvertTo(

ITypeDescriptorContext context,

Type type

);

[Delphi]

public function CanConvertTo(

context: ITypeDescriptorContext;

type: Type

): Boolean; overload; override;

Parameters

context

The System.ComponentModel.ITypeDescriptorContext that provides a format context.

type

The type to convert to.

Return Value

True if this converter can perform the conversion; otherwise, False.

See Also

GenericTypeConverter Class | GenericTypeConverter Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.