SqlBytes 构造函数

定义

初始化 SqlBytes 类的新实例。

重载

SqlBytes()

初始化 SqlBytes 类的新实例。

SqlBytes(Byte[])

根据指定的字节数组初始化 SqlBytes 类的新实例。

SqlBytes(SqlBinary)

根据指定的 SqlBytes 值初始化 SqlBinary 类的新实例。

SqlBytes(Stream)

根据指定的 SqlBytes 值初始化 Stream 类的新实例。

SqlBytes()

Source:
SQLBytes.cs
Source:
SQLBytes.cs
Source:
SQLBytes.cs

初始化 SqlBytes 类的新实例。

public:
 SqlBytes();
public SqlBytes ();
Public Sub New ()

另请参阅

适用于

SqlBytes(Byte[])

Source:
SQLBytes.cs
Source:
SQLBytes.cs
Source:
SQLBytes.cs

根据指定的字节数组初始化 SqlBytes 类的新实例。

public:
 SqlBytes(cli::array <System::Byte> ^ buffer);
public SqlBytes (byte[] buffer);
public SqlBytes (byte[]? buffer);
new System.Data.SqlTypes.SqlBytes : byte[] -> System.Data.SqlTypes.SqlBytes
Public Sub New (buffer As Byte())

参数

buffer
Byte[]

无符号字节的数组。

注解

如果传入 null 引用,则实例设置为 null。

另请参阅

适用于

SqlBytes(SqlBinary)

Source:
SQLBytes.cs
Source:
SQLBytes.cs
Source:
SQLBytes.cs

根据指定的 SqlBytes 值初始化 SqlBinary 类的新实例。

public:
 SqlBytes(System::Data::SqlTypes::SqlBinary value);
public SqlBytes (System.Data.SqlTypes.SqlBinary value);
new System.Data.SqlTypes.SqlBytes : System.Data.SqlTypes.SqlBinary -> System.Data.SqlTypes.SqlBytes
Public Sub New (value As SqlBinary)

参数

value
SqlBinary

一个 SqlBinary 值。

注解

如果传入 null 引用,则实例设置为 null。

另请参阅

适用于

SqlBytes(Stream)

Source:
SQLBytes.cs
Source:
SQLBytes.cs
Source:
SQLBytes.cs

根据指定的 SqlBytes 值初始化 Stream 类的新实例。

public:
 SqlBytes(System::IO::Stream ^ s);
public SqlBytes (System.IO.Stream s);
public SqlBytes (System.IO.Stream? s);
new System.Data.SqlTypes.SqlBytes : System.IO.Stream -> System.Data.SqlTypes.SqlBytes
Public Sub New (s As Stream)

参数

s
Stream

一个 Stream

注解

如果传入 null 引用,则实例设置为 null。

另请参阅

适用于