Click or drag to resize

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)
Syntax
private static bool ToBoolean(
	this string pValue
)

Parameters

pValue
Type: SystemString
Text value

Return Value

Type: Boolean
True 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