ESRI.ArcGIS.ADF.Web.UI.WebControls
GISResourceItemDefinition Class
Members  See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace : GISResourceItemDefinition Class




Defines a GIS resource used in a resource manager.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GISResourceItemDefinitionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<SerializableAttribute()>
Public Class GISResourceItemDefinition 
Visual Basic (Usage)Copy Code
Dim instance As GISResourceItemDefinition
C# 
[TypeConverterAttribute("ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GISResourceItemDefinitionConverter, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.0.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[SerializableAttribute()]
public class GISResourceItemDefinition 

Remarks

Resource managers (e.g., MapResourceManager) maintain a collection of resource items. These resource items (e.g., MapResourceItem) contain information and references that Web ADF controls use for doing GIS work. The resource item's connection to the server is defined using the GISResourceItemDefinition. This property defines the type of data source (DataSourceType - usually the service type), the data source definition (DataSourceDefinition - typically defines the server and service), Identity used for restricted resources, etc.

In an ASPX page, the GISResourceItemDefinition is stored as a string within the resource item (e.g., MapResourceItem) , which is contained within a resource manager (e.g., MapResourceManager). This string is a serialized XML version of the GISResourceItemDefinition, which may be generated by the FromString method of this class. This string must be HTML-encoded to avoid issues with the containing tags. For example, the "<" character must be encoded as &lt;.

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceItemDefinition

See Also

© 2010 All Rights Reserved.