ArcObjects Library Reference (Framework)  

ITemplates.Item Property

The pathname to the template at the given index.

[Visual Basic .NET]
Public Function get_Item ( _
    ByVal Index As Integer _
) As String
[C#]
public string get_Item (
    int Index
);

Product Availability

Available with ArcGIS Desktop.

Description

Index specifies the index of the current template in the Templates collection.

Remarks

In ArcCatalog, index 0 is the Normal template.
In ArcMap, index 0 is the Normal template. If a base template is loaded, it is index 1 and the document is index 2. If there is no base template, the document is index 1.

See Also

ITemplates Interface

.NET Snippets

Get Document Path | Display Template Information in MessageBox |