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