다음을 통해 공유


AudioConfig.SetProperty Method

Definition

Overloads

SetProperty(PropertyId, String)

Sets a property using a PropertyId value. Added in 1.10.0

SetProperty(String, String)

Sets a property using a string name. Added in 1.10.0

SetProperty(PropertyId, String)

Sets a property using a PropertyId value. Added in 1.10.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

Value of the property

Applies to

SetProperty(String, String)

Sets a property using a string name. Added in 1.10.0

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