Boolean TryParse
Imports System Imports System.Globalization Class Sample Public Shared Sub Main() Dim result As Boolean Dim booleanVal As [Boolean] ' Boolean result = [Boolean].TryParse("true", booleanVal) Console.WriteLine(booleanVal.ToString()) End Sub End Class