ConversationsModelFactory.RegexKey(String, String) 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.
Initializes a new instance of RegexKey.
public static Azure.AI.Language.Conversations.Models.RegexKey RegexKey (string key = default, string regexPattern = default);
static member RegexKey : string * string -> Azure.AI.Language.Conversations.Models.RegexKey
Public Shared Function RegexKey (Optional key As String = Nothing, Optional regexPattern As String = Nothing) As RegexKey
Parameters
- key
- String
The key of the regex pattern used in extracting the entity.
- regexPattern
- String
The .NET regex pattern used in extracting the entity. Please visit https://docs.microsoft.com/dotnet/standard/base-types/regular-expressions for more information about .NET regular expressions.
Returns
A new RegexKey instance for mocking.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET