ESRI.ArcGIS.ADF.Web
ElementGraphicsLayer Constructor(String,DataColumn[],String,String)
See Also  Send Feedback
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 New 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.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.