DataReaderExtensions.GetProviderSpecificFieldType(DbDataReader, String) Método
Definição
Obtém o tipo específico do provedor da coluna especificada.Gets the provider-specific type of the specified column.
public:
[System::Runtime::CompilerServices::Extension]
static Type ^ GetProviderSpecificFieldType(System::Data::Common::DbDataReader ^ reader, System::String ^ name);
public static Type GetProviderSpecificFieldType (this System.Data.Common.DbDataReader reader, string name);
static member GetProviderSpecificFieldType : System.Data.Common.DbDataReader * string -> Type
<Extension()>
Public Function GetProviderSpecificFieldType (reader As DbDataReader, name As String) As Type
Parâmetros
- reader
- DbDataReader
O leitor de dados do qual obter o valor da coluna.The data reader to get the column value from.
- name
- String
O nome da coluna.The name of the column.
Retornos
Um tipo .NET específico do provedor.A provider-specific .NET type.
Exceções
O nome especificado não é um nome de coluna válido.The name specified is not a valid column name.