IEntityToType.TryMapToDateRanges Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Essayez de mapper les instances LUIS EntityRecommendation à une liste de DateTime plages, par rapport à maintenant.
public bool TryMapToDateRanges(DateTime now, System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> entities, out System.Collections.Generic.IEnumerable<Microsoft.Bot.Builder.Internals.Fibers.Range<DateTime>> ranges);
abstract member TryMapToDateRanges : DateTime * seq<Microsoft.Bot.Builder.Luis.Models.EntityRecommendation> * seq -> bool
Public Function TryMapToDateRanges (now As DateTime, entities As IEnumerable(Of EntityRecommendation), ByRef ranges As IEnumerable(Of Range(Of DateTime))) As Boolean
Paramètres
- entities
- IEnumerable<EntityRecommendation>
Une liste d’exemples potentiellement pertinents EntityRecommendation .
- ranges
- IEnumerable<Range<DateTime>>
Les plages de sortie DateTime .
Retours
Vrai si la cartographie a pu être réussie, faux sinon.