Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DataAdapter::FillSchema Method (DataTable^, SchemaType, IDataReader^)

 

Adds a DataTable to the specified DataSet.

Namespace:   System.Data.Common
Assembly:  System.Data (in System.Data.dll)

protected:
virtual DataTable^ FillSchema(
	DataTable^ dataTable,
	SchemaType schemaType,
	IDataReader^ dataReader
)

Parameters

dataTable
Type: System.Data::DataTable^

The DataTable to be filled from the IDataReader.

schemaType
Type: System.Data::SchemaType

One of the SchemaType values.

dataReader
Type: System.Data::IDataReader^

The IDataReader to be used as the data source when filling the DataTable.

Return Value

Type: System.Data::DataTable^

A DataTable object that contains schema information returned from the data source.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft