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


IEditTemplate.Tool Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IEditTemplate.Tool Property

Gets the tool for the template.

[Visual Basic .NET]
Public Property Tool As Guid
[C#]
public Guid Tool {get; set;}
[C++]
HRESULT get_Tool(
  System.Guid* Tool
);
[C++]
HRESULT put_Tool(
  System.Guid Tool
);
[C++]

Parameters Tool [out, retval]
Tool is a parameter of type System.Guid* Tool [in]
Tool is a parameter of type System.Guid

Product Availability

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

Remarks

Set or return the default tool for the template. The value is the GUID of the tool.

[C#]
// set the default tool
Guid g=new Guid("{0A7C16B9-1CFD-467F-8ECE-6BA376192431}");
pEditTemplate.Tool=g;

See Also

IEditTemplate Interface