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 |
| System.Boolean | isEditable | True if the field is editable. |
| System.Boolean | isNullable | True if the field is nullable. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| UWP | 100.15 |