ODataSegmentTemplate.TryTranslate(ODataTemplateTranslateContext) 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.
Translate the template into a real OData path segment ODataPathSegment
public abstract bool TryTranslate (Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext context);
abstract member TryTranslate : Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext -> bool
Public MustOverride Function TryTranslate (context As ODataTemplateTranslateContext) As Boolean
Parameters
- context
- ODataTemplateTranslateContext
The translate context.
Returns
True if translated. False if no.