MappingSource.GetModel Method
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Returns the mapping model.
Namespace:  System.Data.Linq.Mapping
Assembly:  System.Data.Linq (in System.Data.Linq.dll)
Syntax
'Declaration
Public Function GetModel ( _
    dataContextType As Type _
) As MetaModel
public MetaModel GetModel(
    Type dataContextType
)
Parameters
- dataContextType
 Type: System.Type
 The type of DataContext of the model to be returned.
Return Value
Type: System.Data.Linq.Mapping.MetaModel
The mapping model associated with this mapping source.
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.