This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IEditTemplate Interface > IEditTemplate.Tool Property (ArcObjects .NET 10.4 SDK) |
Gets the tool for the template.
[Visual Basic .NET]
Public Property Tool As Guid
[C#]
public Guid Tool {get; set;}
[C++]
HRESULT get_Tool(
GUID* Tool
);
[C++]
HRESULT put_Tool(
GUID Tool
);
[C++]
Parameters Tool [out, retval]
Tool is a parameter of type GUID Tool [in]
Tool is a parameter of type GUID
Set or return the default tool for the template. The value is the GUID of the tool.
// set the default tool
Guid g=new Guid("{0A7C16B9-1CFD-467F-8ECE-6BA376192431}");
pEditTemplate.Tool=g;