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