SP.Field.typeAsString Property
Applies to: SharePoint Foundation 2010
In this article
Property Value
Applies To
Remarks
Gets or sets a value that specifies the type of the field.
var value = SP.Field.get_typeAsString();
SP.Field.set_typeAsString(value);
Property Value
Type: String
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.
Remarks
It must not be null. It must not be empty.