HasValue Method
Collapse the table of content
Expand the table of content

MetaAccessor.HasValue Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Specifies whether the instance has a loaded or assigned value.

Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

'Declaration
Public Overridable Function HasValue ( _
	instance As Object _
) As Boolean

Parameters

instance
Type: System.Object
The instance being looked at.

Return Value

Type: System.Boolean
true if the instance currently has a loaded or assigned value; otherwise, false.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft