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


IApplication.Templates Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Framework)  

IApplication.Templates Property

The templates collection.

[Visual Basic .NET]
Public ReadOnly Property Templates As ITemplates
[C#]
public ITemplates Templates {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

The Templates object is a collection of the templates that are currently loaded in the application. In ArcCatalog, the Normal template, Normal.gxt, is the only template that is ever loaded. In ArcMap, there is either two or three templates loaded. The Normal template, Normal.mxt, is always loaded. Also, the document is considered a template is this case; there is always a document loaded in ArcMap. Optionally, the document can be based on another template referred to as a base template.

See Also

IApplication Interface | ITemplates Interface

.NET Snippets

Display Template Information in MessageBox | Get Document Path