Share via


SPField.HasValue Method

Internal function used to verify whether an object is null or not.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Available in SharePoint Online

Syntax

'Declaration
Protected Friend Overridable Function HasValue ( _
    value As Object _
) As Boolean
'Usage
Dim value As Object
Dim returnValue As Boolean

returnValue = Me.HasValue(value)
protected internal virtual bool HasValue(
    Object value
)

Parameters

Return Value

Type: System.Boolean
A Boolean equal to true if value is not a null reference (Nothing in Visual Basic).

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace