System.ComponentModel.BaseNumberConverter Class

Provides a base type converter for nonfloating-point numerical types.

See Also: BaseNumberConverter


public abstract class BaseNumberConverter : TypeConverter


Namespace: System.ComponentModel
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,,

The members of System.ComponentModel.BaseNumberConverter are listed below.

See Also: TypeConverter

Protected Constructors

Initializes a new instance of the BaseNumberConverter class.

Public Methods

CanConvertFrom(ITypeDescriptorContext, Type) : Boolean

Determines if this converter can convert an object in the given source type to the native type of the converter.

CanConvertTo(ITypeDescriptorContext, Type) : Boolean

Returns a value indicating whether this converter can convert an object to the given destination type using the context.

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object) : Object

Converts the given object to the converter's native type.

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type) : Object

Converts the specified object to another type.