SqlBinary(Byte[]) Constructor

Definition

Initializes a new instance of the SqlBinary structure, setting the Value property to the contents of the supplied byte array.

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

Parameters

value
Byte[]

The byte array to be stored or retrieved.

Applies to

See also