Determines whether the System.Web.UI.WebControls.StringArrayConverter can convert the specified source type to an array of strings.
- context
An System.ComponentModel.ITypeDescriptorContext object that provides a format context that can be used to extract additional information about the environment from which this converter is invoked. This parameter or properties of this parameter can be null.
- sourceType
The Type to convert.
![]()
true if the converter can perform the operation; otherwise, false.
The StringArrayConverter.CanConvertFrom(System.ComponentModel.ITypeDescriptorContext, Type) method determines whether the System.Web.UI.WebControls.StringArrayConverter can convert the object specified by sourceType to an array of strings. Use this method prior to calling the StringArrayConverter.ConvertFrom(System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, object) method to perform the conversion.