ESRI.ArcGIS.ADF.Web.UI.WebControls
GetResourcesInFolder Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscovery Class : GetResourcesInFolder Method




folderNode
Folder in which to find resources.
dataSourceInfo
Data source information object.
webResourceLocation
The location of images to use in the tree.
resourceTypes
Array that will be populated with ResourceType objects.
error
Output parameter that will contain a description of any error found.
Retrieves the GIS resources in the input folder.

Syntax

Visual Basic (Declaration) 
Public Shared Sub GetResourcesInFolder( _
   ByVal folderNode As TreeViewPlusNode, _
   ByVal dataSourceInfo As DataSourceInfo, _
   ByVal webResourceLocation As WebResourceLocation, _
   ByVal resourceTypes() As ResourceType, _
   ByRef error As String _
) 
Visual Basic (Usage)Copy Code
Dim folderNode As TreeViewPlusNode
Dim dataSourceInfo As DataSourceInfo
Dim webResourceLocation As WebResourceLocation
Dim resourceTypes() As ResourceType
Dim error As String
 
DataSourceDiscovery.GetResourcesInFolder(folderNode, dataSourceInfo, webResourceLocation, resourceTypes, error)
C# 
public static void GetResourcesInFolder( 
   TreeViewPlusNode folderNode,
   DataSourceInfo dataSourceInfo,
   WebResourceLocation webResourceLocation,
   ResourceType[] resourceTypes,
   out string error
)

Parameters

folderNode
Folder in which to find resources.
dataSourceInfo
Data source information object.
webResourceLocation
The location of images to use in the tree.
resourceTypes
Array that will be populated with ResourceType objects.
error
Output parameter that will contain a description of any error found.

See Also

© 2010 All Rights Reserved.