SqlBytes Construtores

Definição

Inicializa uma nova instância da classe SqlBytes.Initializes a new instance of the SqlBytes class.

Sobrecargas

SqlBytes()

Inicializa uma nova instância da classe SqlBytes.Initializes a new instance of the SqlBytes class.

SqlBytes(Byte[])

Inicializa uma nova instância da classe SqlBytes com base na matriz de bytes especificada.Initializes a new instance of the SqlBytes class based on the specified byte array.

SqlBytes(SqlBinary)

Inicializa uma nova instância da classe SqlBytes com base no valor de SqlBinary especificado.Initializes a new instance of the SqlBytes class based on the specified SqlBinary value.

SqlBytes(Stream)

Inicializa uma nova instância da classe SqlBytes com base no valor de Stream especificado.Initializes a new instance of the SqlBytes class based on the specified Stream value.

SqlBytes()

Inicializa uma nova instância da classe SqlBytes.Initializes a new instance of the SqlBytes class.

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

Aplica-se a

SqlBytes(Byte[])

Inicializa uma nova instância da classe SqlBytes com base na matriz de bytes especificada.Initializes a new instance of the SqlBytes class based on the specified byte array.

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())

Parâmetros

buffer
Byte[]

A matriz de bytes sem sinal.The array of unsigned bytes.

Comentários

Se uma referência nula for passada, a instância será definida como NULL.If a null reference is passed in, the instance is set to null.

Aplica-se a

SqlBytes(SqlBinary)

Inicializa uma nova instância da classe SqlBytes com base no valor de SqlBinary especificado.Initializes a new instance of the SqlBytes class based on the specified SqlBinary value.

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)

Parâmetros

value
SqlBinary

Um valor SqlBinary.A SqlBinary value.

Comentários

Se uma referência nula for passada, a instância será definida como NULL.If a null reference is passed in, the instance is set to null.

Aplica-se a

SqlBytes(Stream)

Inicializa uma nova instância da classe SqlBytes com base no valor de Stream especificado.Initializes a new instance of the SqlBytes class based on the specified Stream value.

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)

Parâmetros

s
Stream

Um Stream.A Stream.

Comentários

Se uma referência nula for passada, a instância será definida como NULL.If a null reference is passed in, the instance is set to null.

Aplica-se a