NetDataContractSerializer.MaxItemsInObjectGraph 属性
定义
获取对象中允许序列化的最大项数。Gets the maximum number of items allowed in the object to be serialized.
public:
property int MaxItemsInObjectGraph { int get(); };
public int MaxItemsInObjectGraph { get; }
member this.MaxItemsInObjectGraph : int
Public ReadOnly Property MaxItemsInObjectGraph As Integer
属性值
对象中允许的最大项数。The maximum number of items allowed in the object. 默认为 MaxValue。The default is MaxValue.
注解
有关设置配额的详细信息,请参阅 数据的安全注意事项。For more information about setting quotas, see Security Considerations for Data.