ArcObjects Library Reference (GeoDatabase)  

IRowSubtypes.SubtypeCode Property

The subtype for the row.

[Visual Basic .NET]
Public Property SubtypeCode As Integer
[C#]
public int SubtypeCode {get; set;}
[C++]
HRESULT get_SubtypeCode(
  long* SubtypeCode
);
[C++]
HRESULT put_SubtypeCode(
  long SubtypeCode
);
[C++]

Parameters

SubtypeCode [out, retval]   SubtypeCode is a parameter of type long SubtypeCode [in]   SubtypeCode is a parameter of type long

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. 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.

See Also

IRowSubtypes Interface

.NET Related Topics

Creating features | Geodatabase | Updating attributes of existing features |