Share via


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

Exceptions

Exception Condition
ArgumentNullException

dt is a null reference (Nothing in Visual Basic).

See Also

Reference

DataTableSurrogate Class

Microsoft.Synchronization.Data Namespace