This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IEditTemplateFactory Interface > IEditTemplateFactory.Create Method (ArcObjects .NET 10.4 SDK) |
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