Method CreateDomainAsync
CreateDomainAsync(DomainDescription)
Creates a new domain in the geodatabase.
Declaration
public Task<Domain> CreateDomainAsync(DomainDescription domainDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| DomainDescription | domainDescription | The description of the domain to create. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<Domain> | The created Domain. |
Remarks
Creating domains is only supported in mobile geodatabases (either created in Pro or via CreateAsync(String)). The domain name must not already exist in the geodatabase.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.14 - 100.15 |
| .NET 6.0 | 100.14 - 100.15 |
| .NET 6.0 Windows | 100.14 - 100.15 |
| .NET Framework | 100.14 - 100.15 |
| Xamarin.Android | 100.14 - 100.15 |
| Xamarin.iOS | 100.14 - 100.15 |
| UWP | 100.14 - 100.15 |