SqlInt32.Implicit 运算符

定义

转换为 SqlInt32 结构。Converts to a SqlInt32 structure.

重载

Implicit(Int32 to SqlInt32)

将提供的 SqlInt32 转换为整数。Converts the supplied integer to SqlInt32.

Implicit(SqlByte to SqlInt32)

将提供的 SqlByte 属性转换为 SqlInt32Converts the supplied SqlByte property to SqlInt32.

Implicit(SqlInt16 to SqlInt32)

将提供的 SqlInt16 转换为 SqlInt32Converts the supplied SqlInt16 to SqlInt32.

Implicit(Int32 to SqlInt32)

将提供的 SqlInt32 转换为整数。Converts the supplied integer to SqlInt32.

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

参数

x
Int32

一个整数值。An integer value.

返回

一个新的 SqlInt32 结构,其 Value 属性等于整数参数。A new SqlInt32 structure whose Value property is equal to the integer parameter.

另请参阅

Implicit(SqlByte to SqlInt32)

将提供的 SqlByte 属性转换为 SqlInt32Converts the supplied SqlByte property to SqlInt32.

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

参数

x
SqlByte

SqlByte 结构。A SqlByte structure.

返回

一个新的 SqlInt32 结构,它的 Value 属性等于 Value 参数的 SqlByte 属性。A new SqlInt32 structure whose Value property equals the Value property of the SqlByte parameter.

注解

此运算符的等效方法是 SqlByte.ToSqlInt32()The equivalent method for this operator is SqlByte.ToSqlInt32()

另请参阅

Implicit(SqlInt16 to SqlInt32)

将提供的 SqlInt16 转换为 SqlInt32Converts the supplied SqlInt16 to SqlInt32.

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

参数

x
SqlInt16

SqlInt16 结构。A SqlInt16 structure.

返回

一个新的 SqlInt32 结构,它的 Value 属性等于 Value 参数的 SqlInt16 属性。A new SqlInt32 structure whose Value property equals the Value property of the SqlInt16 parameter.

注解

此运算符的等效方法是 SqlInt16.ToSqlInt32()The equivalent method for this operator is SqlInt16.ToSqlInt32()

另请参阅

适用于