Share via


DataContractSerializerElement.MaxItemsInObjectGraph プロパティ

定義

シリアル化、または逆シリアル化する項目の最大数を取得または設定します。

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

プロパティ値

シリアル化、または逆シリアル化する項目の最大数。 既定値は 65536 です。

属性

適用対象