ESRI.ArcGIS.ADF.Web.UI.WebControls
ToResourceItemTag Method
See Also 
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 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 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( 
   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.

See Also

© 2010 All Rights Reserved.