System.Web.UI.Design.DataSourceViewSchemaConverter.CanConvertFrom Method

Indicates whether the specified source type can be converted to the type of the associated control property.

Syntax

public override bool CanConvertFrom (System.ComponentModel.ITypeDescriptorContext context, Type sourceType)

Parameters

context
An System.ComponentModel.ITypeDescriptorContext implementation that can be used to gain additional context information.
sourceType
The type to convert from.

Returns

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

Remarks

Requirements

Namespace: System.Web.UI.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0