FilterQueryValidator.ValidateAnyNode Method (AnyNode, ODataValidationSettings)
Override this method to restrict the 'any' query inside the filter query.
Namespace: System.Web.Http.OData.Query.Validators
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public virtual void ValidateAnyNode(
AnyNode anyNode,
ODataValidationSettings settings
)
public:
virtual void ValidateAnyNode(
AnyNode^ anyNode,
ODataValidationSettings^ settings
)
abstract ValidateAnyNode :
anyNode:AnyNode *
settings:ODataValidationSettings -> unit
override ValidateAnyNode :
anyNode:AnyNode *
settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateAnyNode (
anyNode As AnyNode,
settings As ODataValidationSettings
)
Parameters
- anyNode
Type: Microsoft.Data.OData.Query.SemanticAst.AnyNode
- 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