SingletonSegmentTemplate.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 override bool TryTranslate (Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext context);
override this.TryTranslate : Microsoft.AspNetCore.OData.Routing.Template.ODataTemplateTranslateContext -> bool
Public Overrides Function TryTranslate (context As ODataTemplateTranslateContext) As Boolean
Parameters
- context
- ODataTemplateTranslateContext
The translate context.
Returns
True if translated. False if no.