This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IW > IWorkspaceDomains Interface > IWorkspaceDomains.DomainsByFieldType Property (ArcObjects .NET 10.5 SDK) |
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
DomainsByFieldType property returns a IEnumDomain interface to all the domains that apply to the esriFieldType parameter passed in for the specified workspace coclass.
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.