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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.