Class DataArrayTypeConverter
public class DataArrayTypeConverter : TypeConverter- Inheritance
- 
      
      
      DataArrayTypeConverter
- Inherited Members
- Extension Methods
Methods
CanConvertFrom(ITypeDescriptorContext, Type)
Returns whether this converter can convert an object of the given type to the type of this converter, using the specified context.
public override bool CanConvertFrom(ITypeDescriptorContext context, Type sourceType)Parameters
- contextITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context. 
- sourceTypeType
- A Type that represents the type you want to convert from. 
Returns
ConvertFrom(ITypeDescriptorContext, CultureInfo, object)
Converts the given object to the type of this converter, using the specified context and culture information.
public override object ConvertFrom(ITypeDescriptorContext context, CultureInfo culture, object value)Parameters
- contextITypeDescriptorContext
- An ITypeDescriptorContext that provides a format context. 
- cultureCultureInfo
- The CultureInfo to use as the current culture. 
- valueobject
- The object to convert. 
Returns
Exceptions
- NotSupportedException
- The conversion cannot be performed.