FilePrompt Constructor (String, SynthesisMediaType)

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Creates a new instance of the FilePrompt class, specifying the path to the file and its media type.

Namespace:  Microsoft.Speech.Synthesis
Assembly:  Microsoft.Speech (in Microsoft.Speech.dll)

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	path As String, _
	media As SynthesisMediaType _
)
Visual Basic (Usage)
Dim path As String
Dim media As SynthesisMediaType

Dim instance As New FilePrompt(path, media)
C#
public FilePrompt(
	string path,
	SynthesisMediaType media
)

Parameters

path
Type: System..::..String

The path of the file containing the prompt content.

media
Type: Microsoft.Speech.Synthesis..::..SynthesisMediaType

The media type of the file.

See Also