C# Class System.Data.DefaultValueTypeConverter

Provides a type converter that can be used to populate a list box with available types.
Inheritance: System.ComponentModel.StringConverter
Afficher le fichier Open project: dotnet/corefx

Méthodes publiques

Méthode Description
ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
DefaultValueTypeConverter ( ) : System.ComponentModel

Method Details

ConvertFrom() public méthode

public ConvertFrom ( ITypeDescriptorContext context, CultureInfo culture, object value ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
Résultat object

ConvertTo() public méthode

public ConvertTo ( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType ) : object
context ITypeDescriptorContext
culture System.Globalization.CultureInfo
value object
destinationType Type
Résultat object

DefaultValueTypeConverter() public méthode

public DefaultValueTypeConverter ( ) : System.ComponentModel
Résultat System.ComponentModel