ESRI.ArcGIS.ADF.Web.UI.WebControls
ToResourceItem Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscoveryUtility Class : ToResourceItem Method




dataSourceInfo
The data source info to generate the item for.
resourceInfo
The resource info to generate the item for.
resourceItemName
The name to assign the resource item.
The resource item for the provided data source info, for use in the IDE and in custom web applications

Syntax

Visual Basic (Declaration) 
Public Shared Function ToResourceItem( _
   ByVal dataSourceInfo As DataSourceInfo, _
   ByVal resourceInfo As ResourceInfo, _
   ByVal resourceItemName As String _
) As GISResourceItem
Visual Basic (Usage)Copy Code
Dim dataSourceInfo As DataSourceInfo
Dim resourceInfo As ResourceInfo
Dim resourceItemName As String
Dim value As GISResourceItem
 
value = DataSourceDiscoveryUtility.ToResourceItem(dataSourceInfo, resourceInfo, resourceItemName)
C# 
public static GISResourceItem ToResourceItem( 
   DataSourceInfo dataSourceInfo,
   ResourceInfo resourceInfo,
   string resourceItemName
)

Parameters

dataSourceInfo
The data source info to generate the item for.
resourceInfo
The resource info to generate the item for.
resourceItemName
The name to assign the resource item.

Return Value

A resource item

See Also

© 2010 All Rights Reserved.