BaseNumberConverter Class

Definition

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

public abstract class BaseNumberConverter : System.ComponentModel.TypeConverter
Inheritance
BaseNumberConverter
Derived

Inherited Members

System.ComponentModel.TypeConverter

System.Object

Constructors

BaseNumberConverter()

Initializes a new instance of the BaseNumberConverter class.

Methods

CanConvertFrom(ITypeDescriptorContext, Type)

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

CanConvertTo(ITypeDescriptorContext, Type)

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

ConvertFrom(ITypeDescriptorContext, CultureInfo, Object)

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

ConvertTo(ITypeDescriptorContext, CultureInfo, Object, Type)

Converts the specified object to another type.