Redigera

Dela via


OracleBoolean.Explicit Operator

Definition

Used for explicit OracleBoolean conversion.

Overloads

Explicit(OracleBoolean to Boolean)

Converts an OracleBoolean to a Boolean.

Explicit(OracleNumber to OracleBoolean)

Converts the OracleNumber parameter to an OracleBoolean structure.

Explicit(String to OracleBoolean)

Converts a string to an OracleBoolean structure.

Explicit(OracleBoolean to Boolean)

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

x
OracleBoolean

An OracleBoolean to convert.

Returns

A Boolean set to the Value of the OracleBoolean.

Exceptions

The OracleBoolean contains a null value.

Applies to

Explicit(OracleNumber to OracleBoolean)

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

x
OracleNumber

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

Explicit(String to OracleBoolean)

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