SelectExpandQueryOption.Validate Method
Validate the select and expand query based on the given validationSettings. It throws an ODataException if validation failed.
Namespace: System.Web.Http.OData.Query
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
'Declaration
Public Sub Validate ( _
validationSettings As ODataValidationSettings _
)
'Usage
Dim instance As SelectExpandQueryOption
Dim validationSettings As ODataValidationSettings
instance.Validate(validationSettings)
public void Validate(
ODataValidationSettings validationSettings
)
public:
void Validate(
ODataValidationSettings^ validationSettings
)
member Validate :
validationSettings:ODataValidationSettings -> unit
public function Validate(
validationSettings : ODataValidationSettings
)
Parameters
- validationSettings
Type: System.Web.Http.OData.Query.ODataValidationSettings
The ODataValidationSettings instance which contains all the validation settings.