[System.Runtime.CompilerServices.Extension()]
public static System.Data.DataTable Copy(
System.Data.DataTable ,
System.Predicate<DataRow>
)
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()>
Public Shared Function Copy( _
ByVal As System.Data.DataTable, _
ByVal As System.Predicate(Of DataRow) _
) As System.Data.DataTable
'Usage
Dim src As System.Data.DataTable
Dim predicate As System.Predicate(Of DataRow)
Dim value As System.Data.DataTable
value = DataTableExtensions.Copy(src, predicate)
Parameters
- src
- source table from which both schema and data will be created.
- predicate
- predicate determining which rows from the source table will be copied to the copy table.
Return Value
A new table with the same structure (table schemas and constraints) but with only the data that satisfies the predicate.
Target Platforms: Windows XP SP3 (32-bit and 64-bit), Windows 7 (32-bit and 64-bit)
Not all Operating Systems are supported on all products. Visit the ArcFM Solution Supported Versions page for full details.