NetDataContractSerializer.MaxItemsInObjectGraph 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得物件中被序列化的最大允許項目數量。
public:
property int MaxItemsInObjectGraph { int get(); };
public int MaxItemsInObjectGraph { get; }
member this.MaxItemsInObjectGraph : int
Public ReadOnly Property MaxItemsInObjectGraph As Integer
屬性值
物品中允許的最大物品數量。 預設為 Int32.MaxValue。
備註
欲了解更多設定配額的資訊,請參閱 資料安全考量。