Applies the permissible list of template to the data table. 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 (Usage) | Copy Code |
---|
Dim dataTable As DataTable
Dim templateFields As String
GraphicsLayer.ApplyTemplateFields(dataTable, templateFields) |
Parameters
- dataTable
- Table to apply template to.
- 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.
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