Share via


TopQueryValidator.Validate(TopQueryOption, ODataValidationSettings) Method

Definition

Validates a TopQueryOption.

public virtual void Validate (Microsoft.AspNet.OData.Query.TopQueryOption topQueryOption, Microsoft.AspNet.OData.Query.ODataValidationSettings validationSettings);
abstract member Validate : Microsoft.AspNet.OData.Query.TopQueryOption * Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
override this.Validate : Microsoft.AspNet.OData.Query.TopQueryOption * Microsoft.AspNet.OData.Query.ODataValidationSettings -> unit
Public Overridable Sub Validate (topQueryOption As TopQueryOption, validationSettings As ODataValidationSettings)

Parameters

topQueryOption
TopQueryOption

The $top query.

validationSettings
ODataValidationSettings

The validation settings.

Applies to