ODataUriParser.Validate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Validate(ODataUrlValidationRuleSet, IEnumerable<ODataUrlValidationMessage>) |
Validate the OData Uri using a specified set of rules. |
Validate(ODataUrlValidator, IEnumerable<ODataUrlValidationMessage>) |
Validate the OData Uri using an ODataUrlValidator. |
Validate(ODataUrlValidationRuleSet, IEnumerable<ODataUrlValidationMessage>)
Validate the OData Uri using a specified set of rules.
public bool Validate (Microsoft.OData.UriParser.Validation.ODataUrlValidationRuleSet rules, out System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.Validation.ODataUrlValidationMessage> validationMessages);
member this.Validate : Microsoft.OData.UriParser.Validation.ODataUrlValidationRuleSet * seq -> bool
Public Function Validate (rules As ODataUrlValidationRuleSet, ByRef validationMessages As IEnumerable(Of ODataUrlValidationMessage)) As Boolean
Parameters
The set of rules to use in validating the OData Uri.
- validationMessages
- IEnumerable<ODataUrlValidationMessage>
The collection of validation messages found during validation.
Returns
True if validation messages are discovered during validation, otherwise false.
Applies to
Validate(ODataUrlValidator, IEnumerable<ODataUrlValidationMessage>)
Validate the OData Uri using an ODataUrlValidator.
public bool Validate (Microsoft.OData.UriParser.Validation.ODataUrlValidator validator, out System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.Validation.ODataUrlValidationMessage> validationMessages);
member this.Validate : Microsoft.OData.UriParser.Validation.ODataUrlValidator * seq -> bool
Public Function Validate (validator As ODataUrlValidator, ByRef validationMessages As IEnumerable(Of ODataUrlValidationMessage)) As Boolean
Parameters
- validator
- ODataUrlValidator
The ODataUrlValidator used to validate the OData Uri.
- validationMessages
- IEnumerable<ODataUrlValidationMessage>
The collection of validation messages found during validation.
Returns
True if validation messages are discovered during validation, otherwise false.