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


IRowSubtypes.InitDefaultValues Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

IRowSubtypes.InitDefaultValues Method

The default values of the row.

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

Product Availability

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

Remarks

When creating new objects within ArcMap, the default subtype and any default values are automatically set. When objects are created programmatically, the default subtype and default values are not automatically set.  InitDefaultValues will populate fields with the specified default values.

All edits to features that participate in a Topology or Geometric Network must be performed within an edit session and bracketed within an edit operation

See Also

IRowSubtypes Interface

.NET Samples

ArcGIS Network Analyst extension Engine application (Code Files: frmMain)

.NET Related Topics

Creating features | Geodatabase | Updating attributes of existing features