你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

HybridSpeechConfig.SetProperty 方法

定义

重载

SetProperty(PropertyId, String)

按 ID 设置属性值。

SetProperty(String, String)

按名称设置属性值。

SetProperty(PropertyId, String)

按 ID 设置属性值。

public void SetProperty (Microsoft.CognitiveServices.Speech.PropertyId id, string value);
member this.SetProperty : Microsoft.CognitiveServices.Speech.PropertyId * string -> unit
Public Sub SetProperty (id As PropertyId, value As String)

参数

id
PropertyId

属性 ID。

value
String

属性值。

适用于

SetProperty(String, String)

按名称设置属性值。

public void SetProperty (string name, string value);
member this.SetProperty : string * string -> unit
Public Sub SetProperty (name As String, value As String)

参数

name
String

属性名称。

value
String

属性值。

适用于