DataContractSerializerOperationBehavior.MaxItemsInObjectGraph Property

Definition

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

public:
 property int MaxItemsInObjectGraph { int get(); void set(int value); };
public int MaxItemsInObjectGraph { get; set; }
member this.MaxItemsInObjectGraph : int with get, set
Public Property MaxItemsInObjectGraph As Integer

Property Value

The maximum number of items in the object graph to serialize or deserialize. The default is Int32.MaxValue.

Applies to