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


IRowSubtypes.SubtypeCode Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRowSubtypes Interface > IRowSubtypes.SubtypeCode Property
ArcGIS Developer Help

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(
  System.Int32* 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