LocalizableStringConverter.ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) - метод Смотри также Terrasoft.Common - пространство имен > LocalizableStringConverter - класс > ConvertTo - метод : ConvertTo(ITypeDescriptorContext,CultureInfo,Object,Type) - метод C#
- context
- An instance of class that implements the System.ComponentModel.ITypeDescriptorContext interface that represents the context of the format.
- culture
- Culture.
- value
- The object to convert.
- destinationType
- The System.Type type to which the value is converted.
Glossary Item Box
public override object ConvertTo( ITypeDescriptorContext context, CultureInfo culture, object value, Type destinationType )
Параметры
- context
- An instance of class that implements the System.ComponentModel.ITypeDescriptorContext interface that represents the context of the format.
- culture
- Culture.
- value
- The object to convert.
- destinationType
- The System.Type type to which the value is converted.
Тип возвращаемого значения
The System.Object instance that represents the converted value.Исключение | Описание |
---|---|
System.ArgumentNullException | If the null value is passed as a destinationType parameter. |
Overload of the base System.ComponentModel.TypeConverter.ConvertTo(System.ComponentModel.ITypeDescriptorContext,System.Globalization.CultureInfo,System.Object,System.Type) method.