Partager via


MetaType.HasAnyLoadMethod Property

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

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

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

Syntax

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

Property Value

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