SqlDataReader.GetColumnSchema Metoda

Definice

Získá kolekci schématu sloupců jen pro čtení.

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)

Návraty

Kolekce schémat sloupců jen pro čtení.

Implementuje

Poznámky

Tato metoda je implementací IDbColumnSchemaGenerator.GetColumnSchema() metody, která umožňuje použití IDbColumnSchemaGenerator rozhraní k naplnění metadat schématu DbColumn bez použití DataTable.

Platí pro