DataContractSerializerElement.MaxItemsInObjectGraph Właściwość

Definicja

Pobiera lub ustawia maksymalną liczbę elementów do serializacji lub deserializacji.

C#
[System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=65536)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxItemsInObjectGraph { get; set; }
C#
[System.Configuration.IntegerValidator(MinValue=0)]
[System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=2147483647)]
public int MaxItemsInObjectGraph { get; set; }

Wartość właściwości

Maksymalna liczba elementów do serializacji lub deserializacji. Wartość domyślna to 65536.

Atrybuty

Dotyczy

Produkt Wersje
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1