다음을 통해 공유


PatternMatchingEntity Constructor

Definition

Protected constructor that sets the properties with the input parameters.

protected PatternMatchingEntity (string entityId, Microsoft.CognitiveServices.Speech.Intent.EntityType type, Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode mode = Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode.Basic, System.Collections.Generic.IEnumerable<string> phrases = default);
new Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity : string * Microsoft.CognitiveServices.Speech.Intent.EntityType * Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode * seq<string> -> Microsoft.CognitiveServices.Speech.Intent.PatternMatchingEntity
Protected Sub New (entityId As String, type As EntityType, Optional mode As EntityMatchMode = Microsoft.CognitiveServices.Speech.Intent.EntityMatchMode.Basic, Optional phrases As IEnumerable(Of String) = Nothing)

Parameters

entityId
String

The entityId.

type
EntityType

The EntityType.

mode
EntityMatchMode

The EntityMatchMode.

phrases
IEnumerable<String>

Applies to