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

IEditor3.TemplateCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor3 Interface > IEditor3.TemplateCount Property
ArcGIS Developer Help

IEditor3.TemplateCount Property

The number of edit templates.

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

Product Availability

Available with ArcGIS Desktop.


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