DataContractJsonSerializer.KnownTypes DataContractJsonSerializer.KnownTypes DataContractJsonSerializer.KnownTypes DataContractJsonSerializer.KnownTypes Property

Definition

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

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<Type ^> ^ KnownTypes { System::Collections::ObjectModel::ReadOnlyCollection<Type ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<Type> KnownTypes { get; }
member this.KnownTypes : System.Collections.ObjectModel.ReadOnlyCollection<Type>
Public ReadOnly Property KnownTypes As ReadOnlyCollection(Of Type)

Property Value

A ReadOnlyCollection<T> that contains the expected types passed in as known types to the DataContractJsonSerializer constructor.

Applies to