Show / Hide Table of Contents

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
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
TargetVersions
.NET Standard 2.0100.14 - 200.1
.NET 6.0100.14 - 200.1
.NET 6.0 Windows100.14 - 200.1
.NET 6.0 Android200.0 - 200.1
.NET 6.0 iOS200.0 - 200.1
.NET Framework100.14 - 200.1
Android100.14 - 100.15
iOS100.14 - 100.15
UWP100.14 - 200.1
In This Article
Back to top Copyright © 2022 Esri.