DbDataReaderExtensions.GetColumnSchema(DbDataReader) DbDataReaderExtensions.GetColumnSchema(DbDataReader) DbDataReaderExtensions.GetColumnSchema(DbDataReader) DbDataReaderExtensions.GetColumnSchema(DbDataReader) Method

定義

DbDataReader 用に、列のスキーマ (DbColumn コレクション) を取得します。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)

パラメーター

reader
DbDataReader DbDataReader DbDataReader DbDataReader

列のスキーマを返す DbDataReaderThe DbDataReader to return the column schema.

戻り値

DbDataReader 用の、列のスキーマ (DbColumn コレクション)。The column schema (DbColumn collection) for a DbDataReader.

適用対象