Deletes the subtype from the set of associated subtypes.
[Visual Basic .NET] Public Sub DeleteSubtype ( _ ByVal SubtypeCode As Integer _ )
[C#] public void DeleteSubtype ( int SubtypeCode );
[C++]
HRESULT DeleteSubtype(
long SubtypeCode
);
[C++]Parameters
SubtypeCode [in] SubtypeCode is a parameter of type long
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
DeleteSubtype takes the subtype code parameter to remove the subtype from the set of subtypes of the given object class.
Errors Returned
FDO_E_SUBTYPE_CODE_HAS_ASSOCIATED_TOPOLOGY_RULE: Cannot delete a subtype code that is associated with a topology rule.
FDO_E_SUBTYPE_IN_USE_CANNOT_DELETE: Cannot delete a subtype code that is used to define connectivity for a feature class in a network dataset.
Functional License Check
If your application/site is not appropriately licensed, DeleteSubtype can return an Err.Number of FDO_E_NO_SCHEMA_LICENSE.
Remarks
DeleteSubtype will delete a subtype for the associated object class. Calling DeleteSubtype will also remove any reference to that subtype in the geodatabase.