ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
ToFeatureGraphicsLayer(RecordSet,Int32,String,String) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > Converter Class > ToFeatureGraphicsLayer Method : ToFeatureGraphicsLayer(RecordSet,Int32,String,String) Method




recordSet
The RecordSet to convert.
maxRecords
The maximum number of records to convert.
geometryColumn
The column in the Recordset that contains the geometry of the features.
oidColumn
The column in the Recordset that contains unique object IDs of features.
Converts the recordset with the specified settings to a FeatureGraphicsLayer.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function ToFeatureGraphicsLayer( _
   ByVal recordSet As RecordSet, _
   ByVal maxRecords As Integer, _
   ByRef geometryColumn As String, _
   ByRef oidColumn As String _
) As FeatureGraphicsLayer
Visual Basic (Usage)Copy Code
Dim recordSet As RecordSet
Dim maxRecords As Integer
Dim geometryColumn As String
Dim oidColumn As String
Dim value As FeatureGraphicsLayer
 
value = Converter.ToFeatureGraphicsLayer(recordSet, maxRecords, geometryColumn, oidColumn)
C# 
public static FeatureGraphicsLayer ToFeatureGraphicsLayer( 
   RecordSet recordSet,
   int maxRecords,
   ref string geometryColumn,
   ref string oidColumn
)

Parameters

recordSet
The RecordSet to convert.
maxRecords
The maximum number of records to convert.
geometryColumn
The column in the Recordset that contains the geometry of the features.
oidColumn
The column in the Recordset that contains unique object IDs of features.

Return Value

A ESRI.ArcGIS.ADF.Web.Display.Graphics.FeatureGraphicsLayer with the equivalent columns and feature rows.

See Also

© 2010 All Rights Reserved.