JsonTypeInfo.IsReadOnly Propriété

Définition

Obtient une valeur qui indique si l’instance actuelle a été verrouillée pour modification.

public:
 property bool IsReadOnly { bool get(); };
public bool IsReadOnly { get; }
member this.IsReadOnly : bool
Public ReadOnly Property IsReadOnly As Boolean

Valeur de propriété

Remarques

Une JsonTypeInfo instance peut être verrouillée si elle a été passée à l’une des JsonSerializer méthodes, a été associée à une JsonSerializerContext instance ou à un utilisateur appelé explicitement la MakeReadOnly() méthode sur l’instance.

S’applique à