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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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 How to: Create a Custom Field Value Class.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace