Converts an ArcGIS Server identify results object to a DataTable that may be used for displaying results in the Web ADF. Results should contain field aliases as the keys instead of the field names.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Shared Function FromIdentifyResults( _
ByVal results() As ESRI.ArcGIS.ADF.ArcGISServer.MapServerIdentifyResult, _
ByVal mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo _
) As DataTable() |
Visual Basic (Usage) | Copy Code |
---|
Dim results() As ESRI.ArcGIS.ADF.ArcGISServer.MapServerIdentifyResult
Dim mapServerInfo As ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo
Dim value() As DataTable
value = Converter.FromIdentifyResults(results, mapServerInfo) |
C# | |
---|
public static DataTable[] FromIdentifyResults(
ESRI.ArcGIS.ADF.ArcGISServer.MapServerIdentifyResult[] results,
ESRI.ArcGIS.ADF.ArcGISServer.MapServerInfo mapServerInfo
) |
Parameters
- results
- A MapServerIdentifyResult with output from an identify operation with ArcGIS Server.
- mapServerInfo
- A MapServerInfo object with information about the ArcGIS map server.
Return Value
An array of
DataTable with the results output. Each DataTable is a
FeatureGraphicsLayer if the input table contains feature geometry.
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