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


ISubtypes.DefaultSubtypeCode Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IS > ISubtypes Interface > ISubtypes.DefaultSubtypeCode Property
ArcGIS Developer Help

ISubtypes.DefaultSubtypeCode Property

The default subtype associated with the class.

[Visual Basic .NET]
Public Property DefaultSubtypeCode As Integer
[C#]
public int DefaultSubtypeCode {get; set;}
[C++]
HRESULT get_DefaultSubtypeCode(
  System.Int32* SubtypeCode
);
[C++]
HRESULT put_DefaultSubtypeCode(
  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.

Description

DefaultSubtypeCode property sets and returns the default subtype code for the given object class.

Functional License Check

If your application/site is not appropriately licensed, DefaultSubtypeCode can return an error of FDO_E_NO_SCHEMA_LICENSE.

Remarks

This property sets or returns the value of the default subtype code for the associated class.

See Also

ISubtypes Interface