SPField.Type Property

Gets or sets the type of the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute(Name = "FieldTypeKind")]
public SPFieldType Type { get; set; }

Property Value

Type: Microsoft.SharePoint.SPFieldType
An Microsoft.SharePoint.SPFieldType value that specifies the type of field.
Show: