Compartilhar via


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

Syntax

'Declaration
<ClientCallableAttribute(Name := "FieldTypeKind")> _
Public Property Type As SPFieldType
    Get
    Set
'Usage
Dim instance As SPField
Dim value As SPFieldType

value = instance.Type

instance.Type = value
[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.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace