ArcObjects Library Reference (GeoDatabase)  

IWorkspaceDomains.Domains Property

All the domains in the workspace.

[Visual Basic .NET]
Public ReadOnly Property Domains As IEnumDomain
[C#]
public IEnumDomain Domains {get;}
[C++]
HRESULT get_Domains(
  IEnumDomain** Domains
);
[C++]

Parameters

Domains [out, retval]

  Domains is a parameter of type IEnumDomain

Product Availability

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

Description

The Domains property returns an IEnumDomains enumerator for all of the domains from the underlying workspace.

Remarks

This property return an enumeration of all of the domains on a workspace as an IEnumDomain. You can loop through this enumeration to get each domain.

See Also

IWorkspaceDomains Interface