This documentation is archived and is not being maintained.

OracleBoolean.op_Explicit Method (OracleNumber)

Converts the OracleNumber parameter to an OracleBoolean structure.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in

public static explicit operator OracleBoolean (
	OracleNumber x
Not applicable.



An OracleNumber to be converted to an OracleBoolean structure.

Return Value

A new OracleBoolean structure whose value equals the Value property of the OracleNumber parameter.

If the value of the OracleNumber is 0, the value of OracleBoolean is false; otherwise, the value of the OracleBoolean is true.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1