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




resourceItem
The resource item
target
The target application using the resource.
dataSourceInfo
The data source info generated from the item tag.
resourceInfo
The resource info generated from the item tag.
Returns the datasource info, resource info and resource item name from the resource item tag

Syntax

Visual Basic (Declaration) 
Public Shared Sub FromResourceItem( _
   ByVal resourceItem As GISResourceItem, _
   ByVal target As String, _
   ByRef dataSourceInfo As DataSourceInfo, _
   ByRef resourceInfo As ResourceInfo _
) 
Visual Basic (Usage)Copy Code
Dim resourceItem As GISResourceItem
Dim target As String
Dim dataSourceInfo As DataSourceInfo
Dim resourceInfo As ResourceInfo
 
DataSourceDiscoveryUtility.FromResourceItem(resourceItem, target, dataSourceInfo, resourceInfo)
C# 
public static void FromResourceItem( 
   GISResourceItem resourceItem,
   string target,
   out DataSourceInfo dataSourceInfo,
   out ResourceInfo resourceInfo
)

Parameters

resourceItem
The resource item
target
The target application using the resource.
dataSourceInfo
The data source info generated from the item tag.
resourceInfo
The resource info generated from the item tag.

See Also

© 2010 All Rights Reserved.