Επεξεργασία

Κοινή χρήση μέσω


OracleNumber.Explicit Operator

Definition

Overloads

Explicit(String to OracleNumber)

Converts the supplied String to an OracleNumber structure.

Explicit(Int64 to OracleNumber)

Converts the supplied Int64 structure to an OracleNumber structure.

Explicit(Int32 to OracleNumber)

Converts the supplied integer to an OracleNumber structure.

Explicit(Double to OracleNumber)

Converts the supplied Double structure to an OracleNumber structure.

Explicit(OracleNumber to Int64)

Converts the OracleNumber structure to Int64.

Explicit(OracleNumber to Int32)

Converts the OracleNumber structure to Int32.

Explicit(OracleNumber to Double)

Converts the OracleNumber structure to Double.

Explicit(OracleNumber to Decimal)

Converts the OracleNumber structure to Decimal.

Explicit(Decimal to OracleNumber)

Converts the supplied Decimal structure to an OracleNumber structure.

Explicit(String to OracleNumber)

Converts the supplied String to an OracleNumber structure.

public:
 static explicit operator System::Data::OracleClient::OracleNumber(System::String ^ x);
public static explicit operator System.Data.OracleClient.OracleNumber (string x);
static member op_Explicit : string -> System.Data.OracleClient.OracleNumber
Public Shared Narrowing Operator CType (x As String) As OracleNumber

Parameters

x
String

The String to be converted.

Returns

A new OracleNumber structure whose Value equals the value of the String structure.

Applies to

Explicit(Int64 to OracleNumber)

Converts the supplied Int64 structure to an OracleNumber structure.

public:
 static explicit operator System::Data::OracleClient::OracleNumber(long x);
public static explicit operator System.Data.OracleClient.OracleNumber (long x);
static member op_Explicit : int64 -> System.Data.OracleClient.OracleNumber
Public Shared Narrowing Operator CType (x As Long) As OracleNumber

Parameters

x
Int64

The Int64 structure to be converted.

Returns

A new OracleNumber structure whose Value property is equal to the value of the Int64 structure.

Applies to

Explicit(Int32 to OracleNumber)

Converts the supplied integer to an OracleNumber structure.

public:
 static explicit operator System::Data::OracleClient::OracleNumber(int x);
public static explicit operator System.Data.OracleClient.OracleNumber (int x);
static member op_Explicit : int -> System.Data.OracleClient.OracleNumber
Public Shared Narrowing Operator CType (x As Integer) As OracleNumber

Parameters

x
Int32

The integer structure to be converted.

Returns

A new OracleNumber structure whose Value property equals the value of the integer.

Applies to

Explicit(Double to OracleNumber)

Converts the supplied Double structure to an OracleNumber structure.

public:
 static explicit operator System::Data::OracleClient::OracleNumber(double x);
public static explicit operator System.Data.OracleClient.OracleNumber (double x);
static member op_Explicit : double -> System.Data.OracleClient.OracleNumber
Public Shared Narrowing Operator CType (x As Double) As OracleNumber

Parameters

x
Double

The Double structure to be converted.

Returns

A new OracleNumber structure whose Value property equals the value of the Double structure.

Applies to

Explicit(OracleNumber to Int64)

Converts the OracleNumber structure to Int64.

public:
 static explicit operator long(System::Data::OracleClient::OracleNumber x);
public static explicit operator long (System.Data.OracleClient.OracleNumber x);
static member op_Explicit : System.Data.OracleClient.OracleNumber -> int64
Public Shared Narrowing Operator CType (x As OracleNumber) As Long

Parameters

x
OracleNumber

The OracleNumber structure to be converted.

Returns

A new Int64 structure whose value equals the Value of the OracleNumber structure.

Examples

The following code example creates an OracleNumber and converts it to an Int32.

//Create OracleNumber and cast it to an Int32.  
OracleNumber n = new OracleNumber(42);  
Int32 i = (Int32)n;  
Console.WriteLine(i);  
'Create OracleNumber and cast it to an Int32.  
 Dim n As OracleNumber = New OracleNumber(42)  
 Dim i As Int32 = (Int32)n  
 Console.WriteLine(i))  

Applies to

Explicit(OracleNumber to Int32)

Converts the OracleNumber structure to Int32.

public:
 static explicit operator int(System::Data::OracleClient::OracleNumber x);
public static explicit operator int (System.Data.OracleClient.OracleNumber x);
static member op_Explicit : System.Data.OracleClient.OracleNumber -> int
Public Shared Narrowing Operator CType (x As OracleNumber) As Integer

Parameters

x
OracleNumber

The OracleNumber structure to be converted.

Returns

A new Int32 structure whose value equals the Value of the OracleNumber structure.

Applies to

Explicit(OracleNumber to Double)

Converts the OracleNumber structure to Double.

public:
 static explicit operator double(System::Data::OracleClient::OracleNumber x);
public static explicit operator double (System.Data.OracleClient.OracleNumber x);
static member op_Explicit : System.Data.OracleClient.OracleNumber -> double
Public Shared Narrowing Operator CType (x As OracleNumber) As Double

Parameters

x
OracleNumber

The OracleNumber structure to be converted.

Returns

A new Double structure whose value equals the Value of the OracleNumber structure.

Applies to

Explicit(OracleNumber to Decimal)

Converts the OracleNumber structure to Decimal.

public:
 static explicit operator System::Decimal(System::Data::OracleClient::OracleNumber x);
public static explicit operator decimal (System.Data.OracleClient.OracleNumber x);
static member op_Explicit : System.Data.OracleClient.OracleNumber -> decimal
Public Shared Narrowing Operator CType (x As OracleNumber) As Decimal

Parameters

x
OracleNumber

The OracleNumber structure to be converted.

Returns

A new Decimal structure whose value equals the Value of the OracleNumber structure.

Applies to

Explicit(Decimal to OracleNumber)

Converts the supplied Decimal structure to an OracleNumber structure.

public:
 static explicit operator System::Data::OracleClient::OracleNumber(System::Decimal x);
public static explicit operator System.Data.OracleClient.OracleNumber (decimal x);
static member op_Explicit : decimal -> System.Data.OracleClient.OracleNumber
Public Shared Narrowing Operator CType (x As Decimal) As OracleNumber

Parameters

x
Decimal

The Decimal structure to be converted.

Returns

A new OracleNumber structure whose Value is equal to the value of the Decimal structure.

Applies to