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


IWorkspaceDomains.DomainsByFieldType Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceDomains Interface > IWorkspaceDomains.DomainsByFieldType Property
ArcGIS Developer Help

IWorkspaceDomains.DomainsByFieldType Property

The domain with the given name from the workspace.

[Visual Basic .NET]
Public Function get_DomainsByFieldType ( _
    ByVal Type As esriFieldType _
) As IEnumDomain
[C#]
public IEnumDomain get_DomainsByFieldType (
    esriFieldType Type
);
[C++]
HRESULT get_DomainsByFieldType(
  esriFieldType Type,
  IEnumDomain** Domains
);
[C++]
Parameters
Type [in]

Type is a parameter of type esriFieldType Domains [out, retval]
Domains is a parameter of type IEnumDomain**

Product Availability

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

Description

DomainsByFieldType property returns a IEnumDomain interface to all the domains that apply to the esriFieldType parameter passed in for the specified workspace coclass.

Remarks

This property returns an enumeration of all of the domains in a workspace for a particular field type as an IEnumDomain. You can loop through this enumeration to get each domain.

See Also

IWorkspaceDomains Interface