DbDataReaderExtensions.GetColumnSchema(DbDataReader) Metoda

Definicja

Pobiera schemat kolumny ( DbColumn kolekcję) dla DbDataReader .Gets the column schema (DbColumn collection) for a DbDataReader.

public:
[System::Runtime::CompilerServices::Extension]
 static System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Common::DbColumn ^> ^ GetColumnSchema(System::Data::Common::DbDataReader ^ reader);
public static System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn> GetColumnSchema (this System.Data.Common.DbDataReader reader);
static member GetColumnSchema : System.Data.Common.DbDataReader -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn>
<Extension()>
Public Function GetColumnSchema (reader As DbDataReader) As ReadOnlyCollection(Of DbColumn)

Parametry

reader
DbDataReader

, DbDataReader Aby zwrócić schemat kolumny.The DbDataReader to return the column schema.

Zwraca

ReadOnlyCollection<DbColumn>

Schemat kolumny ( DbColumn kolekcja) dla DbDataReader .The column schema (DbColumn collection) for a DbDataReader.

Dotyczy