ESRI.ArcGIS.ADF.Web.UI.WebControls
Name Property
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GISResourceItem Class : Name Property




Name for the resource item.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<ResCategoryAttribute("Information")>
<ResDescriptionAttribute("Name of the resource.")>
<DefaultValueAttribute()>
Public Property Name As String
Visual Basic (Usage)Copy Code
Dim instance As GISResourceItem
Dim value As String
 
instance.Name = value
 
value = instance.Name
C# 
[NotifyParentPropertyAttribute(true)]
[ResCategoryAttribute("Information")]
[ResDescriptionAttribute("Name of the resource.")]
[DefaultValueAttribute()]
public string Name {get; set;}

Remarks

This name may be used when displaying resource information to the user. For example, for a MapResourceItem, if a TOC (table of contents) control is associated with the Map control, the Name is displayed at the root of the TOC tree as the name of the resource. In this case, the Name might be set to the name of the map service or otherwise indicate the type of layers in the resource.

See Also

© 2010 All Rights Reserved.