JsonTypeInfo.MakeReadOnly Method

Definition

Locks the current instance for further modification.

public void MakeReadOnly ();

Remarks

This method is idempotent.

Applies to

Produkt Verzie
.NET 7, 8 (package-provided), 8, 9 (package-provided), 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided)