This document is archived and information here might be outdated. Recommended version. |
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.