NShape Reference
FindLayer Method

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced > ILayerCollection Interface >

NShape Reference
FindLayer Method

Previous pageReturn to chapter overviewNext page

Finds a layer given its name.

Syntax

public Layer FindLayer(string name)

Description

Finds the layer with the given name. Null if the layer is not found.

Parameters

Name

Description

name

Name of the layer to find.

Exceptions

Exception

Condition

ArgumentNullException

Parameter name is null or empty.