DataContractJsonSerializer.KnownTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.