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

Public Overridable ReadOnly Property FieldValueType As Type
    Get

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