Bridge

Convert..::..ToBoolean Method (Object, IFormatProvider)

Converts the value of the specified object to an equivalent Boolean value, using the specified culture-specific formatting information. Note: Calling this method for [char] and [DateTime] values always throws InvalidCastException.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[TemplateAttribute]
public static bool ToBoolean(
	Object value,
	IFormatProvider provider
)
<TemplateAttribute> _
Public Shared Function ToBoolean ( _
	value As Object, _
	provider As IFormatProvider _
) As Boolean
[TemplateAttribute]
public:
static bool^ ToBoolean(
	Object^ value, 
	IFormatProvider^ provider
)

Parameters

value
Type: System..::..Object
provider
Type: System..::..IFormatProvider