ESRI.ArcGIS.ADF.Web.UI.WebControls
ToResourceItemTag Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > IExtendResourceItem Interface : ToResourceItemTag Method




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
Namespacec of the custom tag prefix that has to be registered on the page
Returns the tag for the resource item for use in Manager

Syntax

Visual Basic (Declaration) 
Function ToResourceItemTag( _
   ByVal resourceItem As GISResourceItem, _
   ByRef tagPrefix As String, _
   ByRef customTagAssembly As String, _
   ByRef customTagNamespace As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As IExtendResourceItem
Dim resourceItem As GISResourceItem
Dim tagPrefix As String
Dim customTagAssembly As String
Dim customTagNamespace As String
Dim value As String
 
value = instance.ToResourceItemTag(resourceItem, tagPrefix, customTagAssembly, customTagNamespace)
C# 
string ToResourceItemTag( 
   GISResourceItem resourceItem,
   ref string tagPrefix,
   out string customTagAssembly,
   out string customTagNamespace
)

Parameters

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
Namespacec 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.