ESRI.ArcGIS.ADF.Web
ElementGraphicsLayer Constructor(String,DataColumn[],String,String)
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > ElementGraphicsLayer Class > ElementGraphicsLayer Constructor : ElementGraphicsLayer Constructor(String,DataColumn[],String,String)




tableName
The name to give the table.
columns
An array of DataColumns to add to the table.
graphicsColumnName
The name of the column containing the GraphicElement.
graphicsIdColumnName
The name of the column containing the graphics ID primary key. This must be of type int.
Constructs an ElementGraphicsLayer.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal tableName As String, _
   ByVal columns() As DataColumn, _
   ByVal graphicsColumnName As String, _
   ByVal graphicsIdColumnName As String _
)
Visual Basic (Usage)Copy Code
Dim tableName As String
Dim columns() As DataColumn
Dim graphicsColumnName As String
Dim graphicsIdColumnName As String
 
Dim instance As ElementGraphicsLayer(tableName, columns, graphicsColumnName, graphicsIdColumnName)
C# 
public ElementGraphicsLayer( 
   string tableName,
   DataColumn[] columns,
   string graphicsColumnName,
   string graphicsIdColumnName
)

Parameters

tableName
The name to give the table.
columns
An array of DataColumns to add to the table.
graphicsColumnName
The name of the column containing the GraphicElement.
graphicsIdColumnName
The name of the column containing the graphics ID primary key. This must be of type int.

See Also

© 2010 All Rights Reserved.