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


IDomain Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IDomain Interface

Provides access to members that return and modify domains and their merge and split policies.

Product Availability

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

Description

The IDomain interface is used to maintain and access information about a single domain in a single geodatabase workspace. It provides functionality for determining whether a value is a member of this domain and properties for setting attributes about this domain. When creating and assigning a Domain to a particular field, the client is required to set the Name and FieldType properties.

Members

Description
Read/write property Description The description of the domain.
Read/write property DomainID The ID of the domain.
Read/write property FieldType The field type of the field.
Method MemberOf Indicates whether the value is a valid member of the domain.
Read/write property MergePolicy The merge policy.
Read/write property Name The name of the domain.
Read/write property Owner The owner of the domain.
Read/write property SplitPolicy The split policy.
Read-only property Type The domain type.

CoClasses that implement IDomain

CoClasses and Classes Description
CodedValueDomain Esri Attribute set constraint object.
RangeDomain Esri Range Domain object.

.NET Related Topics

Assigning domains to fields | Creating and modifying domains | Getting a list of schema differences between replicas