共用方式為


PushAudioInputStream.SetProperty Method

Definition

Overloads

SetProperty(PropertyId, String)

Set value of a property associated to data buffer. The properties of the audio data must be set before writing the audio data. Added in 1.5.0

SetProperty(String, String)

Set value of a property associated to data buffer. The properties of the audio data mustt be set before writing the audio data. Added in 1.5.0

SetProperty(PropertyId, String)

Set value of a property associated to data buffer. The properties of the audio data must be set before writing the audio data. Added in 1.5.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

A property identifier.

value
String

The value of the property.

Applies to

SetProperty(String, String)

Set value of a property associated to data buffer. The properties of the audio data mustt be set before writing the audio data. Added in 1.5.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

The name of the property.

value
String

The value of the property.

Applies to