FilePrompt FilePrompt FilePrompt FilePrompt Class

定義

表示從檔案建立的提示。Represents a prompt created from a file.

public ref class FilePrompt : System::Speech::Synthesis::Prompt
public class FilePrompt : System.Speech.Synthesis.Prompt
type FilePrompt = class
    inherit Prompt
Public Class FilePrompt
Inherits Prompt
繼承
FilePromptFilePromptFilePromptFilePrompt

建構函式

FilePrompt(String, SynthesisMediaType) FilePrompt(String, SynthesisMediaType) FilePrompt(String, SynthesisMediaType) FilePrompt(String, SynthesisMediaType)

建立 FilePrompt 類別的新執行個體,並指定檔案的路徑及其媒體類型。Creates a new instance of the FilePrompt class, and specifies the path to the file and its media type.

FilePrompt(Uri, SynthesisMediaType) FilePrompt(Uri, SynthesisMediaType) FilePrompt(Uri, SynthesisMediaType) FilePrompt(Uri, SynthesisMediaType)

建立 FilePrompt 類別的新執行個體,並指定檔案的位置及其媒體類型。Creates a new instance of the FilePrompt class, and specifies the location of the file and its media type.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(Inherited from Object)

屬性

IsCompleted IsCompleted IsCompleted IsCompleted

取得 Prompt 是否播放完畢。Gets whether the Prompt has finished playing.

(Inherited from Prompt)

適用於