MetaAccessor.HasValue Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Specifies whether the instance has a loaded or assigned value.
Namespace: System.Data.Linq.Mapping
Assembly: System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public Overridable Function HasValue ( _
instance As Object _
) As Boolean
public virtual bool HasValue(
Object instance
)
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.
Version Information
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
Platforms
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.