Share via


CustomUriLiteralParsers.RemoveCustomUriLiteralParser Method

Definition

Remove the given custom 'IUriLiteralParser' form cache. It will be removed from both regular parsers and parsers registered with EdmType.

public static bool RemoveCustomUriLiteralParser (Microsoft.OData.UriParser.IUriLiteralParser customUriLiteralParser);
static member RemoveCustomUriLiteralParser : Microsoft.OData.UriParser.IUriLiteralParser -> bool
Public Shared Function RemoveCustomUriLiteralParser (customUriLiteralParser As IUriLiteralParser) As Boolean

Parameters

customUriLiteralParser
IUriLiteralParser

The custom uri type parser to remove

Returns

'False' if the given parser to remove doesn't exist. 'True' if the parser has successfully removed

Exceptions

Uri literal parser is null

Applies to