FilterQueryValidator.ValidateQueryNode Method (QueryNode, ODataValidationSettings)
Override this method if you want to visit each query node.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void ValidateQueryNode(
QueryNode node,
ODataValidationSettings settings
)
public:
virtual void ValidateQueryNode(
QueryNode^ node,
ODataValidationSettings^ settings
)
abstract ValidateQueryNode :
node:QueryNode *
settings:ODataValidationSettings -> unit
override ValidateQueryNode :
node:QueryNode *
settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateQueryNode (
node As QueryNode,
settings As ODataValidationSettings
)
Parameters
- settings
Type: System.Web.Http.OData.Query.ODataValidationSettings
Remarks
This method is intended to be called from method overrides in subclasses. This method also supports unit-testing scenarios and is not intended to be called from user code. Call the Validate method to validate a FilterQueryOption instance.
See Also
FilterQueryValidator Class
System.Web.Http.OData.Query.Validators Namespace
Return to top