WCF-Xtensions Class Reference for Mono
MaxDepth Property (JsonSerializer)






Gets or sets the maximum depth allowed when reading JSON. Reading past this depth will throw a JsonReaderException.
Syntax
'Declaration
 
Public Overridable Property MaxDepth As System.Nullable(Of Integer)
'Usage
 
Dim instance As JsonSerializer
Dim value As System.Nullable(Of Integer)
 
instance.MaxDepth = value
 
value = instance.MaxDepth
public virtual System.Nullable<int> MaxDepth {get; set;}
public read-write property MaxDepth: System.Nullable; virtual; 
public function get,set MaxDepth : System.Nullable
public: __property virtual System.Nullable<int> get_MaxDepth();
public: __property virtual void set_MaxDepth( 
   System.Nullable<int> value
);
public:
virtual property System.Nullable<int> MaxDepth {
   System.Nullable<int> get();
   void set (    System.Nullable<int> value);
}
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

JsonSerializer Class
JsonSerializer Members

Send Feedback