Implicit Conversion (Byte[] to Binary)
Collapse the table of content
Expand the table of content

Binary Widening Conversion (Byte() to Binary)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Public Shared Widening Operator CType ( _
	value As Byte() _
) As Binary

Parameters

value
Type: System.Byte ()
The array of bytes to convert into an instance of the Binary type.

Return Value

Type: System.Data.Linq.Binary
A Binary class containing the coerced value.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft