This topic has not yet been rated - Rate this topic

DataContractJsonSerializer.KnownTypes Property

Gets a collection of types that may be present in the object graph serialized using this instance of the DataContractJsonSerializer.

Namespace:  System.Runtime.Serialization.Json
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)
public ReadOnlyCollection<Type> KnownTypes { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<Type>
A ReadOnlyCollection<T> that contains the expected types passed in as known types to the DataContractJsonSerializer constructor.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

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

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ