SpeechConfig.GetProperty Méthode

Définition

Surcharges

GetProperty(PropertyId)

Recherche la propriété nommée avec cette PropertyId énumération. Ajouté dans la version 1.3.0

GetProperty(String)

Recherche la propriété qui porte ce nom de chaîne.

GetProperty(PropertyId)

Recherche la propriété nommée avec cette PropertyId énumération. Ajouté dans la version 1.3.0

public string GetProperty (Microsoft.CognitiveServices.Speech.PropertyId id);
member this.GetProperty : Microsoft.CognitiveServices.Speech.PropertyId -> string
Public Function GetProperty (id As PropertyId) As String

Paramètres

id
PropertyId

PropertyId de la propriété

Retours

Valeur de la propriété

S’applique à

GetProperty(String)

Recherche la propriété qui porte ce nom de chaîne.

public string GetProperty (string name);
member this.GetProperty : string -> string
Public Function GetProperty (name As String) As String

Paramètres

name
String

Nom de la propriété

Retours

Valeur de la propriété

Remarques

Un petit nombre de propriétés sont stockées à l’aide de noms de chaîne. Dans la plupart des cas, vous utiliserez GetProperty(PropertyId) à la place de cette méthode.

S’applique à