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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.