Compartir a través de


MetaDataMember.IsDiscriminator Property

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

Gets whether this member represents the inheritance discriminator.

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

Syntax

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

Property Value

Type: System.Boolean
true if this member represents the inheritance discriminator; otherwise, false.

Remarks

This property can be true for at most one member of the topmost mapped class in a hierarchy.

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.