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


Public Overridable ReadOnly Property FieldValueType As Type
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.


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


SPField Class

SPField Members

Microsoft.SharePoint Namespace