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 ESRI.ArcGIS.ADF.Web.DataSources.LayerInfoBase |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapResourceItem
Dim layerID As String
Dim getFields As Boolean
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.LayerInfoBase
value = instance.GetLayerInfo(layerID, 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).
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