Share via


MetaType.HasAnyValidateMethod Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates whether the MetaType or any of its bases types has an OnValidate method.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property HasAnyValidateMethod As Boolean
public abstract bool HasAnyValidateMethod { get; }

Property Value

Type: System.Boolean
true if the meta-type or any base meta-type has an OnValidate method; 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.