ESRI.ArcGIS.ADF.IMS
Layers Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto Namespace > DataFrame Class : Layers Property




Gets the layers in the current DataFrame.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property Layers As LayerCollection
Visual Basic (Usage)Copy Code
Dim instance As DataFrame
Dim value As LayerCollection
 
value = instance.Layers
C# 
public LayerCollection Layers {get;}

Example

For an example of accessing a layer in a DataFrame and setting its visibility, see the DataFrame overview.

Remarks

For layers in a DataFrame within LayoutView, only the visibility may be changed. All other changes to properties of the layers will be ignored when generating a layout.

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

© 2011 All Rights Reserved.