OracleBoolean.Explicit Operator
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Used for explicit OracleBoolean conversion.
Explicit(OracleBoolean to Boolean) |
Converts an OracleBoolean to a |
Explicit(OracleNumber to OracleBoolean) |
Converts the OracleNumber parameter to an OracleBoolean structure. |
Explicit(String to OracleBoolean) |
Converts a string to an OracleBoolean structure. |
Converts an OracleBoolean to a Boolean
.
public:
static explicit operator bool(System::Data::OracleClient::OracleBoolean x);
public static explicit operator bool(System.Data.OracleClient.OracleBoolean x);
static member op_Explicit : System.Data.OracleClient.OracleBoolean -> bool
Public Shared Narrowing Operator CType (x As OracleBoolean) As Boolean
Parameters
An OracleBoolean to convert.
Returns
A Boolean
set to the Value of the OracleBoolean.
Exceptions
The OracleBoolean contains a null value.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Converts the OracleNumber parameter to an OracleBoolean structure.
public:
static explicit operator System::Data::OracleClient::OracleBoolean(System::Data::OracleClient::OracleNumber x);
public static explicit operator System.Data.OracleClient.OracleBoolean(System.Data.OracleClient.OracleNumber x);
static member op_Explicit : System.Data.OracleClient.OracleNumber -> System.Data.OracleClient.OracleBoolean
Public Shared Narrowing Operator CType (x As OracleNumber) As OracleBoolean
Parameters
An OracleNumber to be converted to an OracleBoolean structure.
Returns
A new OracleBoolean structure whose value equals the Value property of the OracleNumber parameter.
Remarks
If the value of the OracleNumber is 0, the value of OracleBoolean is false
; otherwise, the value of the OracleBoolean is true
.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Converts a string to an OracleBoolean structure.
public:
static explicit operator System::Data::OracleClient::OracleBoolean(System::String ^ x);
public static explicit operator System.Data.OracleClient.OracleBoolean(string x);
static member op_Explicit : string -> System.Data.OracleClient.OracleBoolean
Public Shared Narrowing Operator CType (x As String) As OracleBoolean
Parameters
- x
- String
A string to be converted to an OracleBoolean structure.
Returns
A new OracleBoolean structure whose value equals the Value of the OracleNumber parameter.
Applies to
.NET Framework 4.8.1 and other versions
Product | Versions |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: