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)

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