다음을 통해 공유


SpeechConfig.SetProperty Method

Definition

Overloads

SetProperty(PropertyId, String)

Sets the value of a property specified by a value in the PropertyId enumeration. Added in 1.3.0

SetProperty(String, String)

Sets a property using a string name.

SetProperty(PropertyId, String)

Sets the value of a property specified by a value in the PropertyId enumeration. Added in 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)

Parameters

id
PropertyId

PropertyId of the property

value
String

New value of the property

Applies to

SetProperty(String, String)

Sets a property using a string name.

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

Parameters

name
String

Name of the property

value
String

Value of the property

Remarks

A small number of properties are stored using string names. In most cases, you will use **SetProperty(PropertyId, String)** instead of this method.

Applies to