SqlBytes Constructors
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the SqlBytes class.
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. |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- 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
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLBytes.cs
- Source:
- SQLBytes.cs
- Source:
- SQLBytes.cs
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
Remarks
If a null reference is passed in, the instance is set to null.
See also
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
- Source:
- SQLBytes.cs
- Source:
- SQLBytes.cs
- Source:
- SQLBytes.cs
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
Remarks
If a null reference is passed in, the instance is set to null.
See also
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: