DataContractSerializerElement.MaxItemsInObjectGraph Właściwość

Definicja

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

public:
 property int MaxItemsInObjectGraph { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=65536)]
[System.Configuration.IntegerValidator(MinValue=0)]
public int MaxItemsInObjectGraph { get; set; }
[System.Configuration.IntegerValidator(MinValue=0)]
[System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=2147483647)]
public int MaxItemsInObjectGraph { get; set; }
[<System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=65536)>]
[<System.Configuration.IntegerValidator(MinValue=0)>]
member this.MaxItemsInObjectGraph : int with get, set
[<System.Configuration.IntegerValidator(MinValue=0)>]
[<System.Configuration.ConfigurationProperty("maxItemsInObjectGraph", DefaultValue=2147483647)>]
member this.MaxItemsInObjectGraph : int with get, set
Public Property MaxItemsInObjectGraph As Integer

Wartość właściwości

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

Atrybuty

Dotyczy