SqlBinary Constructor

Initializes a new instance of the SqlBinary struct without making a copy of the byte array passed via the value parameter. Future mutations to this array may cause the resulting SqlBinary instance to change its value.

The ignored parameter is ignored.

internal SqlBinary(byte[] value, bool ignored);

Remarks

Warning

This overload of the SqlBinary constructor is internal and is not meant to be used directly in your code. This API may not be available in future versions of .NET.

Microsoft does not support the use of this constructor in a production application under any circumstance.

Requirements

Namespace: System.Data.SqlTypes

Assembly: System.Data (in System.Data.dll)

.NET Framework versions: Available since 2.0.