Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Explicit Conversion (OracleNumber to OracleBoolean)

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)

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
Show:
© 2015 Microsoft