SqlByte.Implicit(Byte to SqlByte) Operator

Definition

将提供的字节值转换为 SqlByteConverts the supplied byte value to a SqlByte.

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

Parameters

x
Byte

要转换为 SqlByte 的字节值。A byte value to be converted to SqlByte.

Returns

SqlByte

一个 SqlByte 结构,其 Value 属性等于提供的参数。A SqlByte structure whose Value property is equal to the supplied parameter.

Applies to

See also