EMVariableMapExtensionsToDataTable Method

Alterian Email Manager 6.2.3 SDK Help File
Transforms a collection of EMVariableMap objects into a DataTable so it can be passed as a TVP.

Namespace:  DMLibrary
Assembly:  DMLibrary (in DMLibrary.dll) Version: 1.0.6340.17420

Syntax
public static DataTable ToDataTable(
	this List<EMVariableMap> mapList
)

Parameters

mapList
Type: System.Collections.GenericListEMVariableMap
this collection of EMVariableMap objects.

Return Value

Type: DataTable
A DataTable representing the collection.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListEMVariableMap. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also