ESRI.ArcGIS.ADF.IMS
Item(Int32) Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > LayerCollection Class > Item Property : Item(Int32) Property




index
The index of the layer to retrieve.
Gets the Layer at a given index in the collection.

Syntax

Visual Basic (Declaration) 
Public Overloads ReadOnly Property Item( _
   ByVal index As Integer _
) As Layer
Visual Basic (Usage)Copy Code
Dim instance As LayerCollection
Dim index As Integer
Dim value As Layer
 
value = instance.Item(index)
C# 
public Layer Item( 
   int index
) {get;}

Parameters

index
The index of the layer to retrieve.

Property Value

The layer at the index position.

Remarks

If the index is negative or equal to or greater than the layer count, this method returns null rather than throwing an exception.

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.