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


ISubtypes.DefaultSubtypeCode Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (GeoDatabase)  

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

.NET Related Topics

Creating subtypes | Geodatabase