ESRI.ArcGIS.ADF.Web
ApplyTemplateFields(String) Method
See Also 
ESRI.ArcGIS.ADF.Web.Display.Graphics Namespace > GraphicsLayer Class > ApplyTemplateFields Method : ApplyTemplateFields(String) Method




templateFields
A comma-delimited list of fields used in contents and title templates. Used for handling rare scenarios where a contents template might have fields that are not in a data table that needs to be formatted using it.
Applies the permissible list of template to the graphics layer. When title and contents templates are used to format datarows from this table, fields that are on this list will be escaped if not present in the datatable.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ApplyTemplateFields( _
   ByVal templateFields As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As GraphicsLayer
Dim templateFields As String
 
instance.ApplyTemplateFields(templateFields)
C# 
public void ApplyTemplateFields( 
   string templateFields
)

Parameters

templateFields
A comma-delimited list of fields used in contents and title templates. Used for handling rare scenarios where a contents template might have fields that are not in a data table that needs to be formatted using it.

See Also

© 2010 All Rights Reserved.