FpControlConverter.ConvertBoolValue Method (String, Boolean)
Converts boolean value strings from FrontPage formats to the ASP.NET serialized web control format with a specified default value.
[Visual Basic]
Overloads Protected Function ConvertBoolValue( _
ByRef
value As
String, _
ByVal
defaultValue As
Boolean _
) As
Boolean
[C#]
protected
bool ConvertBoolValue(
ref
string value,
bool defaultValue);
Parameters
-
value
- [IN]: The boolean value string in FrontPage format: "F", "FALSE", "T", or "TRUE".
[OUT]: Either "False" or "True" depending on the input parameters.
-
defaultValue
- Specifies the value to use if value is null or empty.
Return Value
True if value was converted; false otherwise.
See Also
FpControlConverter Class | Parastream.Web.UI.Design Namespace | FpControlConverter.ConvertBoolValue Overload List