ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetResourcesInFolder Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GISDataSourceBase Class : GetResourcesInFolder Method




folder
Folder that will be populated with resources by this method. A FolderNode of ResourceInfo objects.
resourceTypes
The resource types to get information on. An array of ResourceType enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
WebResourceLocation object with the location of images to use in the tree.
error
Output parameter: Any error encountered while retrieving resource information.
Populates the passed-in folder with assemblies.

Syntax

Visual Basic (Declaration) 
Public Sub GetResourcesInFolder( _
   ByVal folder As FolderNode(Of ResourceInfo), _
   ByVal resourceTypes() As ResourceType, _
   ByVal webResourceLocation As WebResourceLocation, _
   ByRef error As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As GISDataSourceBase
Dim folder As FolderNode(Of ResourceInfo)
Dim resourceTypes() As ResourceType
Dim webResourceLocation As WebResourceLocation
Dim error As String
 
instance.GetResourcesInFolder(folder, resourceTypes, webResourceLocation, error)
C# 
public void GetResourcesInFolder( 
   FolderNode<ResourceInfo> folder,
   ResourceType[] resourceTypes,
   WebResourceLocation webResourceLocation,
   out string error
)

Parameters

folder
Folder that will be populated with resources by this method. A FolderNode of ResourceInfo objects.
resourceTypes
The resource types to get information on. An array of ResourceType enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
WebResourceLocation object with the location of images to use in the tree.
error
Output parameter: Any error encountered while retrieving resource information.

Return Value

Information on available resources in the folder.

See Also

© 2010 All Rights Reserved.