다음을 통해 공유


DataServiceContext.IgnoreMissingProperties Property

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

Gets or sets whether the properties read from the type must be mapped to properties on the client-side type.

Namespace:  System.Data.Services.Client
Assembly:  System.Data.Services.Client (in System.Data.Services.Client.dll)

Syntax

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

Property Value

Type: System.Boolean
A Boolean value that indicates whether the properties read from the type must be mapped to properties on the client-side type.

Remarks

If true, materialization succeeds even if properties from the type cannot be mapped to properties of the client type. If false, the property mismatch raises an exception during object materialization.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.