TypeNameParseOptions.MaxNodes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.