Initializes a new instance of the DataTableLayer class.


Namespace: ActualMap.Data
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal dataTable As DataTable,  _ 
   ByVal spatialDataField As String _ 
)
C#
public DataTableLayer(
   DataTable dataTable,
   string spatialDataField
)
C++
public:
 DataTableLayer(
   DataTable dataTable,
   String spatialDataField
) sealed 
J#
public DataTableLayer(
   DataTable dataTable,
   string spatialDataField
)
JScript
public function DataTableLayer(
   dataTable : DataTable,
   spatialDataField : String
)

Parameters

dataTable
A DataTable object.
spatialDataField
Specifies the field that stores the feature geometry in Well-Known Binary (WKB) format.

Exceptions

Exception TypeCondition
ExceptionThrown when an error occurs.

See Also