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

MetaAccessor.HasValue Method (Object)


Specifies whether the instance has a loaded or assigned value.

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

public virtual bool HasValue(
	object 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.

.NET Framework
Available since 3.5
Windows Phone Silverlight
Available since 7.1
Return to top
© 2016 Microsoft