This document is archived and information here might be outdated.  Recommended version.


Templates Class (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Classes > T > Templates Class
ArcGIS Developer Help

TemplatesClass Class

Templates collection object.

Product Availability

Available with ArcGIS Desktop.

Description

The Templates collection references the template objects that are currently loaded with the application.

A Template is a document that is used as a starting point for creating new documents. It carries customizations of several types�user interface, VBA project, and application-specific data. ArcMap has two or three templates loaded with an application. If the document is based on the Normal template, two items are in the templates collection. If the document is based on a project template, three items are in the templates collection. ArcCatalog always has one item in the templates collection; this item represents Normal.gxt.

Use the IApplication.Templates property to get a reference to the Templates collection.

Supported Platforms

Windows

Interfaces

Interfaces Description
ITemplates Provides access to members that query the templates collection.

Remarks

Note, the esriDisplay library contains an object called Template that is unrelated to this Templates collection.