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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET