TopQueryValidator.Validate Method (TopQueryOption, ODataValidationSettings)
Validates a TopQueryOption.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void Validate(
TopQueryOption topQueryOption,
ODataValidationSettings validationSettings
)
public:
virtual void Validate(
TopQueryOption^ topQueryOption,
ODataValidationSettings^ validationSettings
)
abstract Validate :
topQueryOption:TopQueryOption *
validationSettings:ODataValidationSettings -> unit
override Validate :
topQueryOption:TopQueryOption *
validationSettings:ODataValidationSettings -> unit
Public Overridable Sub Validate (
topQueryOption As TopQueryOption,
validationSettings As ODataValidationSettings
)
Parameters
topQueryOption
Type: System.Web.Http.OData.Query.TopQueryOptionThe $top query.
validationSettings
Type: System.Web.Http.OData.Query.ODataValidationSettingsThe validation settings.
See Also
TopQueryValidator Class
System.Web.Http.OData.Query.Validators Namespace
Return to top