ESRI.ArcGIS.ADF.Web.UI.WebControls
ToResourceItemTag Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscovery Class : ToResourceItemTag Method




definer
The definer for the resource item.
resourceItem
The resource item to generate the tag for.
tagPrefix
The prefix to use for the tag. It a custom tag is required, the value of this parameter should be changed to the custom tag prefix.
customTagAssembly
Assembly of the custom tag prefix that has to be registered on the page
customTagNamespace
Namespace of the custom tag prefix that has to be registered on the page
The tag for the resource item for use in Manager

Syntax

Visual Basic (Declaration) 
Public Shared Function ToResourceItemTag( _
   ByVal definer As ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner, _
   ByVal resourceItem As GISResourceItem, _
   ByRef tagPrefix As String, _
   ByRef customTagAssembly As String, _
   ByRef customTagNamespace As String _
) As String
Visual Basic (Usage)Copy Code
Dim definer As ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner
Dim resourceItem As GISResourceItem
Dim tagPrefix As String
Dim customTagAssembly As String
Dim customTagNamespace As String
Dim value As String
 
value = DataSourceDiscovery.ToResourceItemTag(definer, resourceItem, tagPrefix, customTagAssembly, customTagNamespace)
C# 
public static string ToResourceItemTag( 
   ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner definer,
   GISResourceItem resourceItem,
   ref string tagPrefix,
   out string customTagAssembly,
   out string customTagNamespace
)

Parameters

definer
The definer for the resource item.
resourceItem
The resource item to generate the tag for.
tagPrefix
The prefix to use for the tag. It a custom tag is required, the value of this parameter should be changed to the custom tag prefix.
customTagAssembly
Assembly of the custom tag prefix that has to be registered on the page
customTagNamespace
Namespace of the custom tag prefix that has to be registered on the page

Return Value

A string with the tag.

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.