SpeechConfig.SetProperty メソッド

定義

オーバーロード

SetProperty(PropertyId, String)

列挙体の値で指定されたプロパティの値を PropertyId 設定します。 1.3.0 で追加

SetProperty(String, String)

文字列名を使用してプロパティを設定します。

SetProperty(PropertyId, String)

列挙体の値で指定されたプロパティの値を PropertyId 設定します。 1.3.0 で追加

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

プロパティの PropertyId

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

プロパティの値

注釈

少数のプロパティは、文字列名を使用して格納されます。 ほとんどの場合、このメソッドの代わりに **SetProperty(PropertyId, String)** を使用します。

適用対象