Share via


DataContractSerializerElement.MaxItemsInObjectGraph Proprietà

Definizione

Ottiene o imposta il numero massimo di elementi da serializzare o deserializzare.

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

Valore della proprietà

Int32

Numero massimo di elementi da serializzare o deserializzare. Il valore predefinito è 65536.

Attributi

Si applica a