IDomain Interface

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

Description

TheIDomaininterface 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

Name 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.

IDomain.Description Property

The description of the domain.

Public Property Description As String
public string Description {get; set;}

IDomain.DomainID Property

The ID of the domain.

Public Property DomainID As Integer
public int DomainID {get; set;}

IDomain.FieldType Property

The field type of the field.

Public Property FieldType As esriFieldType
public esriFieldType FieldType {get; set;}

IDomain.MemberOf Method

Indicates whether the value is a valid member of the domain.

Public Function MemberOf ( _
    ByVal Value As Object _
) As Boolean
public bool MemberOf (
    object Value
);

Description

TheMemberOfmethod returns true if the specified value is a member of the domain and false otherwise.

IDomain.MergePolicy Property

The merge policy.

Public Property MergePolicy As esriMergePolicyType
public esriMergePolicyType MergePolicy {get; set;}

IDomain.Name Property

The name of the domain.

Public Property Name As String
public string Name {get; set;}

IDomain.Owner Property

The owner of the domain.

Public Property Owner As String
public string Owner {get; set;}

Remarks

This property only applies to domains in ArcSDE geodatabases.

IDomain.SplitPolicy Property

The split policy.

Public Property SplitPolicy As esriSplitPolicyType
public esriSplitPolicyType SplitPolicy {get; set;}

IDomain.Type Property

The domain type.

Public ReadOnly Property Type As esriDomainType
public esriDomainType Type {get;}

Classes that implement IDomain

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.