Binary(Byte[]) Constructor

Definition

Initializes a new instance of the Binary class.

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

Parameters

value
Byte[]

The bytes representing the binary data.

Remarks

Whennull is passed to this constructor instead of the required array of bytes, a System.ArgumentNullException exception is thrown. Do not rely on this behavior because it may change in the future.

Applies to