This document is archived and information here might be outdated. Recommended version. |
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
DeleteSubtype takes the subtype code parameter to remove the subtype from the set of subtypes of the given object class.
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.
If your application/site is not appropriately licensed, DeleteSubtype can return an error of FDO_E_NO_SCHEMA_LICENSE.
DeleteSubtype will delete a subtype for the associated object class. Calling DeleteSubtype will also remove any reference to that subtype in the geodatabase.