CodeCarvings.Piczard
DecodeBool Method
See Also  Send Feedback
CodeCarvings.Piczard.Web.Helpers Namespace > JSHelper Class : DecodeBool Method

value
A string containing the javascript value to convert.
Converts the specified javascript value to its boolean equivalent.

Syntax

Visual Basic (Declaration)  
Public Shared Function DecodeBool( _
   ByVal value As String _
) As Boolean
C#  
public static bool DecodeBool( 
   string value
)

Parameters

value
A string containing the javascript value to convert.

Return Value

true if the string is equal to "true" (using a non-case sensitive comparison); otherwise, false.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.