ESRI.ArcGIS.ADF.Web
Name Property
See Also 
ESRI.ArcGIS.ADF.Web Namespace > TocLayer Class : Name Property




The unique name of a TocLayer that identifies it in a collection of TocLayer objects. If there are two layers with the same name, the Name property of the layer added second is modified to make it unique.

Syntax

Visual Basic (Declaration) 
Public Property Name As String
Visual Basic (Usage)Copy Code
Dim instance As TocLayer
Dim value As String
 
instance.Name = value
 
value = instance.Name
C# 
public string Name {get; set;}

See Also

© 2010 All Rights Reserved.