GetSqlBytes Method

SqlDataReader.GetSqlBytes Method (Int32)


Gets the value of the specified column as SqlBytes.

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

Public Overridable Function GetSqlBytes (
	i As Integer
) As SqlBytes


Type: System.Int32

The zero-based column ordinal.

Return Value

Type: System.Data.SqlTypes.SqlBytes

The value of the column expressed as a SqlBytes.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
© 2016 Microsoft