MetaAccessor.HasValue Method

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.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions