FieldBuilder.SetSpec
Method
Description:
Sets the spec describing the field's values.
Sets the spec describing the field's values.
Parameters
| Parameter | Type | Description |
|---|---|---|
| specTypeId | ForgeTypeId | Identifier of the spec. |
Return Value
| Type | Description |
|---|---|
| FieldBuilder | The FieldBuilder object may be used to add more details to the field. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | The SchemaBuilder has already finished building the Schema. -or- The field type does not utilize unit conversions. |