This documentation is archived and is not being maintained.

BaseCompareValidator::CanConvert Method

Determines whether the specified string can be converted to the specified data type.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method Static member CanConvert(String, ValidationDataType) Determines whether the specified string can be converted to the specified data type. This version of the overloaded method tests currency, double, and date values using the format used by the current culture.
Public method Static member CanConvert(String, ValidationDataType, Boolean) Determines whether the specified string can be converted to the specified data type. This version of the overloaded method allows you to specify whether values are tested using a culture-neutral format.
Top
Show: