FilePrompt 類別

定義

表示從檔案建立的提示。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
繼承
FilePrompt

建構函式

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 類別的新執行個體,並指定檔案的位置及其媒體類型。Creates a new instance of the FilePrompt class, and specifies the location of the file and its media type.

屬性

IsCompleted

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

(繼承來源 Prompt)

方法

Equals(Object)

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

(繼承來源 Object)
GetHashCode()

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

(繼承來源 Object)
GetType()

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

(繼承來源 Object)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

(繼承來源 Object)

適用於