RVTDocs.com

FieldBuilder.SetSpec

Method
Description:
Sets the spec describing the field's values.
Syntax
public FieldBuilder SetSpec(
	ForgeTypeId specTypeId
)
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.