This documentation is archived and is not being maintained.
BaseCompareValidator::CanConvert Method
Visual Studio 2010
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.
| Name | Description | |
|---|---|---|
|
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. |
|
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. |
Show: