SP.Field.fieldTypeKind Property
Applies to: SharePoint Foundation 2010
Gets or sets a value that specifies the type of the field.
var value = SP.Field.get_fieldTypeKind();
SP.Field.set_fieldTypeKind(value);
Property Value
Type: SP.FieldType
Applies To
Exceptions
- SPException
The server does not allow properties of the field to be changed. Error code: -2146232832.
- NotSupportedException
Value is changed, and the list is an external list. Error code: -1.