Click or drag to resize
DataRecordContainer Constructor
Initializes a new instance of the DataRecordContainer class using the dataRecord provided.

Namespace: CMS.Base
Assembly: CMS.Base (in CMS.Base.dll) Version: 13.0.131
Syntax
C#
public DataRecordContainer(
	IDataRecord dataRecord
)

Parameters

dataRecord
Type: System.DataIDataRecord
Data record to initialize the container with.
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown when dataRecord is null.
InvalidOperationExceptionThrown when dataRecord contains duplicate column names.
See Also