Show / Hide Table of Contents

Constructor Field

Field(FieldType, String, Nullable<String>, Int32, Domain, Boolean, Boolean)

Initializes a new instance of the Field class.

Declaration
public Field(FieldType fieldType, string name, string? alias, int length, Domain domain = null, bool isEditable = true, bool isNullable = true)
Parameters
Type Name Description
FieldType fieldType

Defines the type of field.

String name

Name of the field.

System.Nullable<String> alias

Alias of the field.

System.Int32 length

Length of the field - This only applied to string-types.

Domain domain

Domain for the field. Can be null.

System.Boolean isEditable

True if the field is editable.

System.Boolean isNullable

True if the field is nullable.

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.