Uredi

Deli z drugimi prek


Binary.Implicit(Byte[] to Binary) Operator

Definition

Enables arrays of bytes to be implicitly coerced to the Binary type in a programming language.

public:
 static operator System::Data::Linq::Binary ^(cli::array <System::Byte> ^ value);
public static implicit operator System.Data.Linq.Binary (byte[] value);
static member op_Implicit : byte[] -> System.Data.Linq.Binary
Public Shared Widening Operator CType (value As Byte()) As Binary

Parameters

value
Byte[]

The array of bytes to convert into an instance of the Binary type.

Returns

A Binary class containing the coerced value.

Remarks

When null is passed to this operator instead of the required array of bytes, an System.ArgumentNullException exception is thrown. Do not rely on this behavior because it may change in the future.

Applies to