Field.FieldTypeKind Property
Gets or sets a value that specifies the type of the field.
Namespace: Microsoft.SharePoint.Client
Assemblies: Microsoft.SharePoint.Client.Silverlight (in Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client (in Microsoft.SharePoint.Client.dll)
Syntax
'Declaration
<RemoteAttribute> _
Public Property FieldTypeKind As FieldType
Get
Set
'Usage
Dim instance As Field
Dim value As FieldType
value = instance.FieldTypeKind
instance.FieldTypeKind = value
[RemoteAttribute]
public FieldType FieldTypeKind { get; set; }
Property Value
Type: Microsoft.SharePoint.Client.FieldType
Returns a FieldType instance representing the type of the field.
Exceptions
Exception | Condition |
---|---|
[Microsoft.SharePoint.SPException] | The server does not allow properties of the field to be changed. Error code: -2146232832. |
[System.NotSupportedException] | Value is changed, and the list is an external list. Error code: -1. |