Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the value of the column at the specified index as type SqlBinary.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Overrides Function GetSqlBinary ( _
ordinal As Integer _
) As SqlBinary
'Usage
Dim instance As SqlCeResultSet
Dim ordinal As Integer
Dim returnValue As SqlBinary
returnValue = instance.GetSqlBinary(ordinal)
public override SqlBinary GetSqlBinary(
int ordinal
)
public:
virtual SqlBinary GetSqlBinary(
int ordinal
) override
abstract GetSqlBinary :
ordinal:int -> SqlBinary
override GetSqlBinary :
ordinal:int -> SqlBinary
public override function GetSqlBinary(
ordinal : int
) : SqlBinary
Parameters
- ordinal
Type: System.Int32
The ordinal position of the column from which to retrieve data.
Return Value
Type: System.Data.SqlTypes.SqlBinary
The value of the column at the specified index.
Remarks
An exception is thrown if no field exists at the specified ordinal position.