ESRI.ArcGIS.ADF.Web.UI.WebControls
ResourceItems Property
See Also  Example Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > GeoprocessingResourceManager Class : ResourceItems Property




The collection of geoprocessing resource items managed by the resource manager.

Syntax

Visual Basic (Declaration) 
<NotifyParentPropertyAttribute(True)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)>
<PersistenceModeAttribute(PersistenceMode.InnerProperty)>
<ResCategoryAttribute("Resources")>
<ResDescriptionAttribute("The GeoprocessingResourceItem collection managed by this control.")>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GeoprocessingResourceItemCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
Public ReadOnly Property ResourceItems As GISResourceItemCollection(Of GeoprocessingResourceItem)
Visual Basic (Usage)Copy Code
Dim instance As GeoprocessingResourceManager
Dim value As GISResourceItemCollection(Of GeoprocessingResourceItem)
 
value = instance.ResourceItems
C# 
[NotifyParentPropertyAttribute(true)]
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Content)]
[PersistenceModeAttribute(PersistenceMode.InnerProperty)]
[ResCategoryAttribute("Resources")]
[ResDescriptionAttribute("The GeoprocessingResourceItem collection managed by this control.")]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GeoprocessingResourceItemCollectionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
public GISResourceItemCollection<GeoprocessingResourceItem> ResourceItems {get;}

Example

Uses the resource items colleciton of a GeoprocessingResourceManager to find a geoprocessing resource item by its name. If necessary, the resource item is subsequently initialized.
C#Copy Code
ESRI.ArcGIS.ADF.Web.UI.WebControls.GeoprocessingResourceItem geoprocessingResourceItem =
    GeoprocessingResourceManager1.ResourceItems.Find(m_geoprocessingResourceName);
 
if (!geoprocessingResourceItem.Resource.Initialized)
    geoprocessingResourceItem.InitializeResource();

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.