ESRI.ArcGIS.ADF.Web.UI.WebControls
GetLayerInfo Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > MapResourceItem Class : GetLayerInfo Method




layerID
ID of the layer to retrieve information about.
getFields
Whether to include information on attribute fields in the data returned.
Retrieves the layer info for one layer in the map resource.

Syntax

Visual Basic (Declaration) 
Public Function GetLayerInfo( _
   ByVal layerID As String, _
   ByVal getFields As Boolean _
) As LayerInfoBase
Visual Basic (Usage)Copy Code
Dim instance As MapResourceItem
Dim layerID As String
Dim getFields As Boolean
Dim value As LayerInfoBase
 
value = instance.GetLayerInfo(layerID, getFields)
C# 
public LayerInfoBase GetLayerInfo( 
   string layerID,
   bool getFields
)

Parameters

layerID
ID of the layer to retrieve information about.
getFields
Whether to include information on attribute fields in the data returned.

Return Value

A layer info object, either a LayerInfo (for an individual layer) or GroupLayerInfo (for a group layer).

See Also

© 2010 All Rights Reserved.