DataContractJsonSerializerSettings.KnownTypes Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets or sets a collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.
Namespace: System.Runtime.Serialization.Json
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
Syntax
Public Property KnownTypes As IEnumerable(Of Type)
public IEnumerable<Type> KnownTypes { get; set; }
Property Value
Type: System.Collections.Generic..::.IEnumerable<(Of <(Type>)>)
A collection of types that may be present in the object graph serialized using this instance the DataContractJsonSerializerSettings.
Version Information
Windows Phone OS
Supported in: 8.1, 8.0