IRowSubtypes Interface

Provides access to members to return and modify the subtype code and to initialize the default values.

Description

The IRowSubtypes interface contains methods that allow the initialization, determination and modification of subtype values and initialization of default values.

Members

Name Description
Method InitDefaultValues The default values of the row.
Read/write property SubtypeCode The subtype for the row.

IRowSubtypes.InitDefaultValues Method

The default values of the row.

Public Sub InitDefaultValues ( _
)
public void InitDefaultValues (
);

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

IRowSubtypes.SubtypeCode Property

The subtype for the row.

Public Property SubtypeCode As Integer
public int SubtypeCode {get; set;}

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. The subtype code of the feature can be specified with the SubtypeCode property.

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.

Classes that implement IRowSubtypes

Classes Description
Feature Esri Feature.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.