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


IField.DefaultValue Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

IField.DefaultValue Property

The default value of the field.

[Visual Basic .NET]
Public ReadOnly Property DefaultValue As Object
[C#]
public object DefaultValue {get;}
[C++]
HRESULT get_DefaultValue(
  VARIANT* Value
);
[C++]

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

Product Availability

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

See Also

IField Interface

.NET Related Topics

Working with fields