SqlDataReader.GetColumnSchema Metoda

Definicja

Pobiera kolekcję schematów kolumn tylko do odczytu.

public:
 virtual System::Collections::ObjectModel::ReadOnlyCollection<System::Data::Common::DbColumn ^> ^ GetColumnSchema();
public System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn> GetColumnSchema ();
abstract member GetColumnSchema : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn>
override this.GetColumnSchema : unit -> System.Collections.ObjectModel.ReadOnlyCollection<System.Data.Common.DbColumn>
Public Function GetColumnSchema () As ReadOnlyCollection(Of DbColumn)

Zwraca

Kolekcja schematów kolumn tylko do odczytu.

Implementuje

Uwagi

Ta metoda jest implementacją IDbColumnSchemaGenerator.GetColumnSchema() metody, która umożliwia użycie interfejsu IDbColumnSchemaGenerator do wypełniania DbColumn metadanych schematu bez użycia elementu DataTable.

Dotyczy