Redigeeri

Jagamisviis:


SqlInt16.Implicit Operator

Definition

Converts to a SqlInt16 structure.

Overloads

Implicit(SqlByte to SqlInt16)

Converts the supplied SqlByte structure to SqlInt16.

Implicit(Int16 to SqlInt16)

Converts the supplied short integer to SqlInt16.

Implicit(SqlByte to SqlInt16)

Source:
SQLInt16.cs
Source:
SQLInt16.cs
Source:
SQLInt16.cs

Converts the supplied SqlByte structure to SqlInt16.

public:
 static operator System::Data::SqlTypes::SqlInt16(System::Data::SqlTypes::SqlByte x);
public static implicit operator System.Data.SqlTypes.SqlInt16 (System.Data.SqlTypes.SqlByte x);
static member op_Implicit : System.Data.SqlTypes.SqlByte -> System.Data.SqlTypes.SqlInt16
Public Shared Widening Operator CType (x As SqlByte) As SqlInt16

Parameters

x
SqlByte

A SqlByte structure.

Returns

A new SqlInt16 structure whose Value property is equal to the Value property of the SqlByte parameter.

Remarks

The equivalent method for this operator is SqlByte.ToSqlInt16()

See also

Applies to

Implicit(Int16 to SqlInt16)

Source:
SQLInt16.cs
Source:
SQLInt16.cs
Source:
SQLInt16.cs

Converts the supplied short integer to SqlInt16.

public:
 static operator System::Data::SqlTypes::SqlInt16(short x);
public static implicit operator System.Data.SqlTypes.SqlInt16 (short x);
static member op_Implicit : int16 -> System.Data.SqlTypes.SqlInt16
Public Shared Widening Operator CType (x As Short) As SqlInt16

Parameters

x
Int16

A short integer value.

Returns

A SqlInt16 structure with the same value as the specified short integer.

See also

Applies to