ESRI.ArcGIS.ADF.Web.UI.WebControls
GetResourcesInFolder Method
See Also  Send Feedback
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 ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo, _
   ByVal webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation, _
   ByVal resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType, _
   ByRef error As String _
) 
Visual Basic (Usage)Copy Code
Dim folderNode As TreeViewPlusNode
Dim dataSourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo
Dim webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation
Dim resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType
Dim error As String
 
DataSourceDiscovery.GetResourcesInFolder(folderNode, dataSourceInfo, webResourceLocation, resourceTypes, error)
C# 
public static void GetResourcesInFolder( 
   TreeViewPlusNode folderNode,
   ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo dataSourceInfo,
   ESRI.ArcGIS.ADF.Web.WebResourceLocation webResourceLocation,
   ESRI.ArcGIS.ADF.Web.DataSources.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.

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.