다음을 통해 공유


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

속성 값

Int32

직렬화하거나 역직렬화할 최대 항목 수입니다. 기본값은 65536입니다.

특성

적용 대상