ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetFields(String,String,Type[]) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > QueryFunctionality Class > GetFields Method : GetFields(String,String,Type[]) Method




mapFunctionalityName
Name of the map functionality. May be null for some resource types.
layerID
ID of the layer.
fieldTypes
Output parameter: array of field Type objects corresponding to returned field names.
Gets the names and types of fields in a layer.

Syntax

Visual Basic (Declaration) 
Public Overloads Function GetFields( _
   ByVal mapFunctionalityName As String, _
   ByVal layerID As String, _
   ByRef fieldTypes As Type _
) As String()
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim layerID As String
Dim fieldTypes As Type
Dim value() As String
 
value = instance.GetFields(mapFunctionalityName, layerID, fieldTypes)
C# 
public string[] GetFields( 
   string mapFunctionalityName,
   string layerID,
   out Type fieldTypes
)

Parameters

mapFunctionalityName
Name of the map functionality. May be null for some resource types.
layerID
ID of the layer.
fieldTypes
Output parameter: array of field Type objects corresponding to returned field names.

Return Value

Array of field names in the layer.

See Also

© 2010 All Rights Reserved.