SqlDataRecord.GetString(Int32) Método
Definição
public:
virtual System::String ^ GetString(int ordinal);
public virtual string GetString (int ordinal);
abstract member GetString : int -> string
override this.GetString : int -> string
Public Overridable Function GetString (ordinal As Integer) As String
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 String.The column value as a String.
Implementações
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.