ODataUrlValidator.ValidateUrl 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.
Validate the given ODataUri.
public bool ValidateUrl (Microsoft.OData.ODataUri odataUri, out System.Collections.Generic.IEnumerable<Microsoft.OData.UriParser.Validation.ODataUrlValidationMessage> validationMessages);
member this.ValidateUrl : Microsoft.OData.ODataUri * seq -> bool
Public Function ValidateUrl (odataUri As ODataUri, ByRef validationMessages As IEnumerable(Of ODataUrlValidationMessage)) As Boolean
Parameters
- validationMessages
- IEnumerable<ODataUrlValidationMessage>
An output parameter to return any validation messages associated with the oDataUri
Returns
True, if any errors are found, otherwise false.