NetDataContractSerializer.MaxItemsInObjectGraph 屬性

定義

取得允許物件中要序列化的最大項目數。

public:
 property int MaxItemsInObjectGraph { int get(); };
public int MaxItemsInObjectGraph { get; }
member this.MaxItemsInObjectGraph : int
Public ReadOnly Property MaxItemsInObjectGraph As Integer

屬性值

物件中允許的最大項目數。 預設值為 Int32.MaxValue

備註

如需設定配額的詳細資訊,請參閱 資料的安全性考慮

適用於