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
You can create a new domain in a mobile geodatabase that was created in ArcGIS Pro or using CreateAsync(String). The domain description can be a CodedValueDomainDescription or a RangeDomainDescription.
In terms of the domain description, the Name must not exist in the geodatabase and FieldType must be valid. See DomainDescription, for additional constraints.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.14 - 200.6 |
.NET | 100.14 - 200.6 |
.NET Windows | 100.14 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.14 - 200.6 |
Xamarin.Android | 100.14 - 100.15 |
Xamarin.iOS | 100.14 - 100.15 |
UWP | 100.14 - 200.6 |