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

ICodedValueDomain.CodeCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > ICodedValueDomain Interface > ICodedValueDomain.CodeCount Property
ArcGIS Developer Help

ICodedValueDomain.CodeCount Property

The number of codes for the associated attribute.

[Visual Basic .NET]
Public ReadOnly Property CodeCount As Integer
public int CodeCount {get;}
HRESULT get_CodeCount(
  System.Int32* values
values [out, retval]

values is a parameter of type long*

Product Availability

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


The CodeCount property returns the number of codes in this coded value domain.

See Also

ICodedValueDomain Interface