DateTimeSpec(String, IEnumerable<String>) Constructor
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.
Initializes a new instance of the DateTimeSpec class.
public DateTimeSpec (string type, System.Collections.Generic.IEnumerable<string> expressions);
new Microsoft.Bot.Builder.AI.Luis.DateTimeSpec : string * seq<string> -> Microsoft.Bot.Builder.AI.Luis.DateTimeSpec
Public Sub New (type As String, expressions As IEnumerable(Of String))
Parameters
- type
- String
The type of TIMEX expression.
- expressions
- IEnumerable<String>
The TIMEX expression.
Exceptions
type
is null or contains only white space,
or expressions
is null.