Binary.Implicit(Byte[] to Binary) Operator
Definition
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.
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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.