Constructor Field
Field(FieldType, string, string?, int, Domain?, bool, bool)
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. |
| string | alias | Alias of the field. |
| int | length | Length of the field - This only applied to string-types. |
| Domain | domain | Domain for the field. Can be |
| bool | isEditable | True if the field is editable. |
| bool | isNullable | True if the field is nullable. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.2 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |