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


IEditTemplate.Tool Property (ArcObjects .NET 10.5 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(
  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

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