Partilhar via


OnClientBookmark Property

  Microsoft Speech Technologies Homepage

Gets or sets the name of a client-side function that is called when the platform encounters a Bookmark while playing the DialogPrompt content. Read/write.

Usage

ASP.NET markup: <speech:Prompt OnClientBookmark="..." />
Get value: String = DialogPrompt.OnClientBookmark;
Set value: DialogPrompt.OnClientBookmark = String;
Data type: String
Required: No

Remarks

The value of the OnClientBookmark property is the name of a custom client-side script function, without parameters or parentheses. The client-side dialog manager calls this function when the bookmark is encountered.

The script block that contains this function should be placed before the control that calls the function. For more information, see "Placement of Script Blocks" in Authoring Notes.

Syntax

function FunctionName ()
{
     // Client-side code referenced by DialogPrompt.OnClientBookmark
}

Parameters

None.

Return Value

None.

Note

  • The Microsoft prompt engine does not support bookmarks at this time.
  • The Microsoft prompt engine, and other engines, may support bookmarks at a later time.
  • When bookmarks are not supported, use of this property results in an error.

See Also

DialogPrompt Class | DialogPrompt Constructor | DialogPrompt Members | DialogPrompt Properties | DialogPrompt Methods | DialogPrompt Events | DialogPrompt Remarks