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.DomainByName Property (ArcObjects .NET 10.5 SDK) |
The domain with the given name from the workspace.
[Visual Basic .NET] Public Function get_DomainByName ( _ ByVal DomainName As String _ ) As IDomain
[C#] public IDomain get_DomainByName ( string DomainName );
[C++]
HRESULT get_DomainByName(
BSTR DomainName,
IDomain** Domain
);
[C++]
Parameters DomainName [in] DomainName is a parameter of type BSTR Domain [out, retval]
Domain is a parameter of type IDomain
DomainByName property returns an IDomain interface to the domain specified by the domain name parameter passed in.
This property returns an IDomain for the domain in the workspace with the name provided. The domain name is a String.