Share via


DataContractJsonSerializer.KnownTypes Proprietà

Definizione

Ottiene una raccolta di tipi che possono essere presenti nell'oggetto grafico serializzato utilizzando l'istanza di 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)

Valore della proprietà

Classe ReadOnlyCollection<T> contenente tipi previsti passati come tipi conosciuti al costruttore DataContractJsonSerializer.

Si applica a