OracleBoolean Narrowing Conversion (OracleNumber to OracleBoolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Converts the OracleNumber parameter to an OracleBoolean structure.

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

Public Shared Narrowing Operator CType (
	x As OracleNumber
) As OracleBoolean

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: