Removes the specified edit template.
[Visual Basic .NET] Public Sub RemoveTemplate ( _ ByVal editTemplate As IEditTemplate _ )
[C#] public void RemoveTemplate ( IEditTemplate editTemplate );
Product Availability
Available with ArcGIS Desktop.
[C#]
//Here is an example looping thru the editor templates and removing them one by one.
for
(int i = 0; i <= m_editor.TemplateCount; i++){
if (m_editor.TemplateCount > 0){
IEditTemplate removedTemplate = m_editor.get_Template(i);
m_editor.RemoveTemplate(removedTemplate);
i--;
}
}