Export (0) Print
Expand All

OracleBinary Explicit Conversion (OracleBinary to Byte[])

Gets the contents of the Value property of the OracleBinary parameter as an array of bytes.

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

public static explicit operator byte[] (
	OracleBinary x

Return Value

Type: System.Byte[]
An array of bytes.

[Visual Basic]

In Visual Basic, you can use the conversions defined by the class, but you cannot override them or create your own. If Option Strict is set, you must use the <CType operator> to convert the OracleBinary to a binary object.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1
© 2015 Microsoft