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


IEditor3.TemplateCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Editor)  

IEditor3.TemplateCount Property

The number of edit templates.

[Visual Basic .NET]
Public ReadOnly Property TemplateCount As Integer
[C#]
public int TemplateCount {get;}

Product Availability

Available with ArcGIS Desktop.

Remarks

This method returns the total number of templates for all layers within the current edit workspace. The returned value will be 0 if you are not in an edit session. To examine templates for layers outside an edit session refer to IEditTemplateManager in the Carto assembly.

See Also

IEditor3 Interface