PRELIMINARY INFORMATION - SUBJECT TO CHANGE
This document is provided on an "AS IS" basis without warranties of any kind. Smartsite iXperion class libraries may change in future releases.
Converts a string value to a boolean value.

Namespace: Smartsite.Core
Assembly:  Smartsite.Base (in Smartsite.Base.dll)

Syntax

C#Copy imageCopy Code
public static bool BooleanFromString(
	string value
)
Visual Basic (Declaration)Copy imageCopy Code
Public Shared Function BooleanFromString ( _
	value As  _
) As 

Parameters

value
String
A string.

Return Value

True if the value is either "1" or "true". Comparison is case-insensitive.

See Also

XmlUtil Class
Smartsite.Core Namespace
Advanced