This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IE > IEditor3 Interface > IEditor3.TemplateCount Property (ArcObjects .NET 10.4 SDK) |
The number of edit templates.
[Visual Basic .NET] Public ReadOnly Property TemplateCount As Integer
[C#] public int TemplateCount {get;}
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.