ESRI.ArcGIS.ADF.IMS
Item(Int32) Property
See Also 
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.

Return 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.

See Also

© 2010 All Rights Reserved.