GetLocalCopy Method

Microsoft Speech Platform SDK 11

Collapse imageExpand ImageCopy imageCopyHover image

Gets a local copy of the specified speech resource.

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

Syntax

Visual Basic (Declaration)
Function GetLocalCopy ( _
	resourcePath As Uri, _
	<OutAttribute> ByRef mimeType As String, _
	<OutAttribute> ByRef redirectUrl As Uri _
) As String
Visual Basic (Usage)
Dim instance As ISpeechResourceLoader
Dim resourcePath As Uri
Dim mimeType As String
Dim redirectUrl As Uri
Dim returnValue As String

returnValue = instance.GetLocalCopy(resourcePath, _
	mimeType, redirectUrl)
C#
string GetLocalCopy(
	Uri resourcePath,
	out string mimeType,
	out Uri redirectUrl
)

Parameters

resourcePath
Type: System..::..Uri
mimeType
Type: System..::..String%
redirectUrl
Type: System..::..Uri%

Return Value

Type: System..::..String

Remarks

The local file must reside on the machine on which the Speech process is running.

See Also