OracleBoolean Explicit Conversion (OracleNumber to OracleBoolean)

 

Converts the OracleNumber parameter to an OracleBoolean structure.

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

public:
static explicit operator OracleBoolean (
	OracleNumber x
)

Parameters

x
Type: System.Data.OracleClient::OracleNumber

An OracleNumber to be converted to an OracleBoolean structure.

Return Value

Type: System.Data.OracleClient::OracleBoolean

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.

.NET Framework
Available since 1.1
Return to top
Show: