Partager via


MetaModel.ContextType Property

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

Gets the type of DataContext type that this model describes.

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

Syntax

'Declaration
Public MustOverride ReadOnly Property ContextType As Type
public abstract Type ContextType { get; }

Property Value

Type: System.Type
The data context type.

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.