Edit

Share via


TypeNameParseOptions.MaxNodes Property

Definition

Gets or sets the maximum number of nodes that the parser can handle.

public:
 property int MaxNodes { int get(); void set(int value); };
public int MaxNodes { get; set; }
member this.MaxNodes : int with get, set
Public Property MaxNodes As Integer

Property Value

The maximum number of nodes that the parser can handle. The default is 20.

Remarks

Setting this property to a large value can render TypeName susceptible to Denial of Service attacks when parsing or handling malicious input.

Applies to