![]() ![]() |
ESRI.ArcGIS.ADF.Web.DataSources.IMS | |
GetQueryableLayers(String,String[],String[],FeatureType) Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > QueryFunctionality Class > GetQueryableLayers Method : GetQueryableLayers(String,String[],String[],FeatureType) Method |
- mapFunctionalityName
- Name of the map functionality. If null, uses the functionality associated with the current functionality.
- layerIDs
- Output parameter: IDs of queryable layers.
- layerNames
- Output parameter: names of queryable layers.
- featureType
- The FeatureType of layers to find (Point, Line or Polygon).
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub GetQueryableLayers( _ ByVal mapFunctionalityName As String, _ ByRef layerIDs As String(), _ ByRef layerNames As String(), _ ByVal featureType As ESRI.ArcGIS.ADF.Web.FeatureType _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As QueryFunctionality Dim mapFunctionalityName As String Dim layerIDs As String() Dim layerNames As String() Dim featureType As ESRI.ArcGIS.ADF.Web.FeatureType instance.GetQueryableLayers(mapFunctionalityName, layerIDs, layerNames, featureType) |
C# | |
---|---|
public void GetQueryableLayers( string mapFunctionalityName, out string[] layerIDs, out string[] layerNames, ESRI.ArcGIS.ADF.Web.FeatureType featureType ) |
Parameters
- mapFunctionalityName
- Name of the map functionality. If null, uses the functionality associated with the current functionality.
- layerIDs
- Output parameter: IDs of queryable layers.
- layerNames
- Output parameter: names of queryable layers.
- featureType
- The FeatureType of layers to find (Point, Line or Polygon).
This method is typically used to find the ID of a layer based on its name. You can loop through the returned layerNames array, and get the ID of the corresponding layer from the layerIDs array.
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