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

HybridSpeechConfig.GetProperty 方法

定义

重载

GetProperty(PropertyId)

按 ID 获取属性值。

GetProperty(String)

按名称获取属性值。

GetProperty(PropertyId)

按 ID 获取属性值。

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

参数

id
PropertyId

参数 ID。

返回

属性值。

适用于

GetProperty(String)

按名称获取属性值。

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

参数

name
String

参数名称。

返回

属性值。

适用于