DataContractSerializerElement.MaxItemsInObjectGraph Property

 

Gets or sets the maximum number of items to serialize or deserialize.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ConfigurationPropertyAttribute("maxItemsInObjectGraph", DefaultValue = 2147483647)]
[IntegerValidatorAttribute(MinValue = 0)]
public int MaxItemsInObjectGraph { get; set; }

Property Value

Type: System.Int32

The maximum number of items to serialize or deserialize. The default is 65536.

.NET Framework
Available since 3.0
Return to top
Show: