SPField.Type property

Gets or sets the type of the field.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Property Type As SPFieldType
    Get
    Set
'Usage
Dim instance As SPField
Dim value As SPFieldType

value = instance.Type

instance.Type = value
public SPFieldType Type { get; set; }

Property value

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

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace