Rediger

Del via


SqlBytes Constructors

Definition

Initializes a new instance of the SqlBytes class.

Overloads

SqlBytes()

Initializes a new instance of the SqlBytes class.

SqlBytes(Byte[])

Initializes a new instance of the SqlBytes class based on the specified byte array.

SqlBytes(SqlBinary)

Initializes a new instance of the SqlBytes class based on the specified SqlBinary value.

SqlBytes(Stream)

Initializes a new instance of the SqlBytes class based on the specified Stream value.

SqlBytes()

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

Initializes a new instance of the SqlBytes class.

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

See also

Applies to

SqlBytes(Byte[])

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

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

Parameters

buffer
Byte[]

The array of unsigned bytes.

Remarks

If a null reference is passed in, the instance is set to null.

See also

Applies to

SqlBytes(SqlBinary)

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

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)

Parameters

value
SqlBinary

A SqlBinary value.

Remarks

If a null reference is passed in, the instance is set to null.

See also

Applies to

SqlBytes(Stream)

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

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)

Parameters

s
Stream

A Stream.

Remarks

If a null reference is passed in, the instance is set to null.

See also

Applies to