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


IEditTemplateFactory.Create Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IEditTemplateFactory.Create Method

Creats a new edit template. Use IEditor3.AddTemplate to add the template to the editor.

[Visual Basic .NET]
Public Function Create ( _
    ByVal Name As String, _
    ByVal Layer As ILayer _
) As IEditTemplate
[C#]
public IEditTemplate Create (
    string Name,
    ILayer Layer
);
[C++]
HRESULT Create(
  BSTR Name,
  ILayer* Layer,
  IEditTemplate** EditTemplate
);
[C++]

Parameters Name [in] Name is a parameter of type BSTR Layer [in]
Layer is a parameter of type ILayer EditTemplate [out, retval]
EditTemplate is a parameter of type IEditTemplate

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IEditTemplateFactory Interface