SqlDataRecord.GetSqlBinary(Int32) Método
Definição
public:
virtual System::Data::SqlTypes::SqlBinary GetSqlBinary(int ordinal);
public virtual System.Data.SqlTypes.SqlBinary GetSqlBinary (int ordinal);
abstract member GetSqlBinary : int -> System.Data.SqlTypes.SqlBinary
override this.GetSqlBinary : int -> System.Data.SqlTypes.SqlBinary
Public Overridable Function GetSqlBinary (ordinal As Integer) As SqlBinary
Parâmetros
- ordinal
- Int32
O ordinal com base em zero da coluna.The zero-based ordinal of the column.
Retornos
O valor da coluna como um SqlBinary.The column value as a SqlBinary.
Exceções
O ordinal é menor que 0 ou maior que o número de colunas (ou seja, FieldCount).The ordinal is less than 0 or greater than the number of columns (that is, FieldCount).
Há tipos incompatíveis.There is a type mismatch.