Share via


ODataUriParserSettings.MaximumExpansionDepth Property

Definition

Gets or sets the maximum depth of the tree that results from parsing $expand.

public int MaximumExpansionDepth { get; set; }
member this.MaximumExpansionDepth : int with get, set
Public Property MaximumExpansionDepth As Integer

Property Value

Remarks

This will be validated after parsing completes, and so should not be used to prevent the instantiation of large trees. Further, redundant expansions will be pruned before validation and will not count towards the maximum.

Applies to