Compartilhar via


FilterQueryValidator.ValidateSingleValuePropertyAccessNode Method (SingleValuePropertyAccessNode, ODataValidationSettings)

 

Override this method to validate property accessor.

Namespace:   System.Web.Http.OData.Query.Validators
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

public virtual void ValidateSingleValuePropertyAccessNode(
    SingleValuePropertyAccessNode propertyAccessNode,
    ODataValidationSettings settings
)
public:
virtual void ValidateSingleValuePropertyAccessNode(
    SingleValuePropertyAccessNode^ propertyAccessNode,
    ODataValidationSettings^ settings
)
abstract ValidateSingleValuePropertyAccessNode : 
        propertyAccessNode:SingleValuePropertyAccessNode *
        settings:ODataValidationSettings -> unit
override ValidateSingleValuePropertyAccessNode : 
        propertyAccessNode:SingleValuePropertyAccessNode *
        settings:ODataValidationSettings -> unit
Public Overridable Sub ValidateSingleValuePropertyAccessNode (
    propertyAccessNode As SingleValuePropertyAccessNode,
    settings As ODataValidationSettings
)

Parameters

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