ESRI.ArcGIS.ADF.Web.DataSources.Graphics
GetQueryableLayers(String,String[],String[],FeatureType) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.Graphics Namespace > QueryFunctionality Class > GetQueryableLayers Method : GetQueryableLayers(String,String[],String[],FeatureType) Method




mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
layerIDs
Output parameter: array with IDs of queryable layers.
layerNames
Output parameter: array with names of queryable layers.
featureType
FeatureType of layers to return (point, line, or polygon).
Finds queryable layers of a particular feature type (point, line or polygon).

Syntax

Visual Basic (Declaration) 
Public Overloads Sub GetQueryableLayers( _
   ByVal mapFunctionalityName As String, _
   ByRef layerIDs As String, _
   ByRef layerNames As String, _
   ByVal featureType As FeatureType _
) 
Visual Basic (Usage)Copy Code
Dim instance As QueryFunctionality
Dim mapFunctionalityName As String
Dim layerIDs As String
Dim layerNames As String
Dim featureType As FeatureType
 
instance.GetQueryableLayers(mapFunctionalityName, layerIDs, layerNames, featureType)
C# 
public void GetQueryableLayers( 
   string mapFunctionalityName,
   out string layerIDs,
   out string layerNames,
   FeatureType featureType
)

Parameters

mapFunctionalityName
Name of the map functionality. If null, queries the GraphicsDataSet of the current graphics resource.
layerIDs
Output parameter: array with IDs of queryable layers.
layerNames
Output parameter: array with names of queryable layers.
featureType
FeatureType of layers to return (point, line, or polygon).

Remarks

The layers will include only layers of type FeatureGraphicsLayer, since ElementGraphicsLayer is not limited to a particular feature type.

See Also

© 2010 All Rights Reserved.