DataTableSurrogate Constructor
Initializes a new instance of the DataTableSurrogate class.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
dt As DataTable _
)
'Usage
Dim dt As DataTable
Dim instance As New DataTableSurrogate(dt)
public DataTableSurrogate(
DataTable dt
)
public:
DataTableSurrogate(
DataTable^ dt
)
new :
dt:DataTable -> DataTableSurrogate
public function DataTableSurrogate(
dt : DataTable
)
Parameters
- dt
Type: System.Data.DataTable
The DataTable object for which to create a surrogate.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | dt is a null reference (Nothing in Visual Basic). |