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


IEditTemplate.ClearDefaultValues Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IEditTemplate Interface > IEditTemplate.ClearDefaultValues Method
ArcGIS Developer Help

IEditTemplate.ClearDefaultValues Method

Removes all the default values currently set.

[Visual Basic .NET]
Public Sub ClearDefaultValues ( _
)
[C#]
public void ClearDefaultValues (
);
[C++]
HRESULT ClearDefaultValues(
void
);

Product Availability

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

Remarks

Sets the value of each field to the default value for that field type. The field value will be set to null if null values are allowed.

See Also

IEditTemplate Interface