SessionToBoolean Method |  |
Convert a text to boolean value.
Namespace:
Velo.Web.Helper
Assembly:
Velo.Web (in Velo.Web.dll) Version: 22.2.10.1 (22.2.10.450)
Syntaxprivate static bool ToBoolean(
this string pValue
)
<ExtensionAttribute>
Private Shared Function ToBoolean (
pValue As String
) As Boolean
Parameters
- pValue
- Type: SystemString
Text value
Return Value
Type:
BooleanTrue or false
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
Remarks
An empty text give a boolean value false back
See Also