Share via


ODataUriParserSettings.MaximumExpansionCount Property

Definition

Gets or sets the maximum number of ExpandedNavigationSelectItem instances that can appear in the tree that results from parsing $expand.

public int MaximumExpansionCount { get; set; }
member this.MaximumExpansionCount : int with get, set
Public Property MaximumExpansionCount 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