Share via


InheritanceMappingAttribute.IsDefault Property

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

Gets or sets whether an object of this type in instantiated when the discriminator value does not match a specified value.

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

Syntax

'Declaration
Public Property IsDefault As Boolean
public bool IsDefault { get; set; }

Property Value

Type: System.Boolean
Default = false.

Remarks

Exactly one of the InheritanceMappingAttribute attributes must be declared with IsDefault as true.

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.