This is an example of a code/type field that supports a long integer for the code portion of the field. Most code/type fields are long integer fields. This is how the field should be set up if the field in the feature class is also a long integer field tied to a coded-value domain.
This is another example of a long integer code/type field. This is how the field should be set up if the field in the feature class is a string field tied to a coded-value domain.
This is an example of a code/type field that supports a string for the code portion of the field.