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

IMapTableInfo.HasSubtype Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapTableInfo Interface > IMapTableInfo.HasSubtype Property
ArcGIS Developer Help

IMapTableInfo.HasSubtype Property

Indicates if the layer has Subtype.

[Visual Basic .NET]
Public ReadOnly Property HasSubtype As Boolean
public bool HasSubtype {get;}
HRESULT get_HasSubtype(
  Boolean* HasSubtype
HasSubtype [out, retval]

HasSubtype is a parameter of type bool*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Note: in case when the subtype field name is invisible in the source map document, HasSubtype will return False even though the layer has Subtypes.

See Also

IMapTableInfo Interface