Retrieves the LayerInfo items with data about each layer in the map resource.
Syntax
Visual Basic (Declaration) | |
---|
Public Function GetLayerInfos( _
ByVal layerIDs() As String, _
ByVal getFields As Boolean _
) As ESRI.ArcGIS.ADF.Web.DataSources.LayerInfoBase() |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As MapResourceItem
Dim layerIDs() As String
Dim getFields As Boolean
Dim value() As ESRI.ArcGIS.ADF.Web.DataSources.LayerInfoBase
value = instance.GetLayerInfos(layerIDs, getFields) |
Parameters
- layerIDs
- Layer IDs for layers to retrieve information about. May include group layers.
- getFields
- Whether to include information on attribute fields in the data returned.
Return Value
An array of layer info items, which may be cast to LayerInfo (for individual layers) or GroupLayerInfo (for group layers).
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