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

value
The value to convert.
Converts the boolean value to its equivalent javascript representation (either "true" or "false").

Syntax

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

Parameters

value
The value to convert.

Return Value

"true" if the value is true, or "false" if the value is 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.