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(
  long* 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 Err.Number 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 |