Binary Implicit Conversion (array<Byte[] to Binary)

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Public Shared Widening Operator CType ( _
    value As Byte() _
) As Binary
public static implicit operator Binary (
    byte[] value
)

Parameters

  • value
    Type: array<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.

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.