C# Класс System.Data.ColumnTypeConverter

Наследование: System.ComponentModel.TypeConverter
Показать файл Открыть проект

Открытые методы

Метод Описание
CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool

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

ColumnTypeConverter ( ) : System.ComponentModel
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object

Converts the given value object to the specified destination type.

GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection

Gets a collection of standard values for the data type this validator is designed for.

GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool

Gets a value indicating whether the list of standard values returned from is an exclusive list.

GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool

Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context.

Описание методов

CanConvertFrom() публичный Метод

public CanConvertFrom ( ITypeDescriptorContext context, Type sourceType ) : bool
context ITypeDescriptorContext
sourceType System.Type
Результат bool

CanConvertTo() публичный Метод

Gets a value indicating whether this converter can convert an object to the given destination type using the context.
public CanConvertTo ( ITypeDescriptorContext context, Type destinationType ) : bool
context ITypeDescriptorContext
destinationType System.Type
Результат bool

ColumnTypeConverter() публичный Метод

public ColumnTypeConverter ( ) : System.ComponentModel
Результат System.ComponentModel

ConvertFrom() публичный Метод

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Результат object

ConvertTo() публичный Метод

Converts the given value object to the specified destination type.
public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType System.Type
Результат object

GetStandardValues() публичный Метод

Gets a collection of standard values for the data type this validator is designed for.
public GetStandardValues ( ITypeDescriptorContext context ) : StandardValuesCollection
context ITypeDescriptorContext
Результат StandardValuesCollection

GetStandardValuesExclusive() публичный Метод

Gets a value indicating whether the list of standard values returned from is an exclusive list.
public GetStandardValuesExclusive ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
Результат bool

GetStandardValuesSupported() публичный Метод

Gets a value indicating whether this object supports a standard set of values that can be picked from a list using the specified context.
public GetStandardValuesSupported ( ITypeDescriptorContext context ) : bool
context ITypeDescriptorContext
Результат bool