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


FieldDomainInfo CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

FieldDomainInfo CoClass

A colcass that contains Field Domain information including Default Value.

Product Availability

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

Interfaces

Interfaces Description
IDocumentVersionSupportGEN (esriSystem) Provides access to extend the IObjectStream interface with methods to hande saving objects that did not exist in previous versions of the software.
IFieldDomainInfo Field Domain Information Array.
IPersistStream (esriSystem)
IXMLSerialize (esriSystem) Provides access to members that XML serialize and deserialize an object to/from XML.
IXMLVersionSupport (esriSystem) Provides access to members that help in serializing an object to different namespaces (versions).

Remarks

The object contains domain and name of the field that this is assigned to.

Domain represents a set of or a range of values valid for a field. Domains can be of two types � (a) range domain or (b) coded domain.

A domain can be assigned to more than one field in the same subtype or in other subtypes, in such case the domain information may get duplicated. If the same domain is also assigned to the field level, domain information is not duplicated (IFieldDomainInfo::Domain is null); instead IsInherited is set to True which means that you need to get the domain code description from the domain set at the field level.