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


IEditTemplate.DefaultValue Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IEditTemplate.DefaultValue Property

Gets the default value for the given field.

[Visual Basic .NET]
Public Function get_DefaultValue ( _
    ByVal Field As String _
) As Object
[C#]
public object get_DefaultValue (
    string Field
);
[C++]
HRESULT get_DefaultValue(
  BSTR Field,
  VARIANT* Value
);
[C++]

Parameters Field [in] Field is a parameter of type BSTR Value [out, retval] Value is a parameter of type VARIANT

Product Availability

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

Description

Returns the current value for the given field in the template.

See Also

IEditTemplate Interface