Collapse All Expand All Code: All Code: Multiple Code: Visual Basic Code: C# Code: Visual C++ Code: JavaScript

Visual Basic
C#
Visual C++
JavaScript

Easy GIS .NET API Reference
SFMap..::.GetLayer Method
SFMap Class See Also Send Feedback

Method to get a ShapeFile layer at the specified index

Namespace: EGIS.Web.Controls
Assembly: EGIS.Web.Controls (in EGIS.Web.Controls.dll)

# Syntax

Visual Basic (Declaration)
    Public Function GetLayer ( _
    	index As Integer _
    ) As ShapeFile

C#
    public ShapeFile GetLayer(
    	int index
    )

Visual C++
    public:
    ShapeFile^ GetLayer(
    	int index
    )

#### Parameters

index
  Type: System..::.Int32
  zero-based index of layer to return

#### Return Value

The requested ShapeFile layer

# See Also

SFMap Class
EGIS.Web.Controls Namespace