Share via


SPField.FieldValueType property

Gets the value type of the field when the field type has its own value type.

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

Syntax

'Declaration
Public Overridable ReadOnly Property FieldValueType As Type
    Get
'Usage
Dim instance As SPField
Dim value As Type

value = instance.FieldValueType
public virtual Type FieldValueType { get; }

Property value

Type: System.Type
A System.Type object that represents the value type.

Remarks

Use the FieldValueType property when the field type has its own custom value type object, such as the one that is returned through the GetFieldValue method. For more information about field value objects, see Custom Field Value Classes.

See also

Reference

SPField class

SPField members

Microsoft.SharePoint namespace