言語

SayAs.InterpretAs プロパティ

定義

プロンプトの SSML マークアップ言語のinterpret-as要素のsay-as属性の値を取得または設定します。

public:
 property System::String ^ InterpretAs { System::String ^ get(); void set(System::String ^ value); };
public string? InterpretAs { get; set; }
public string InterpretAs { get; set; }
member this.InterpretAs : string with get, set
Public Property InterpretAs As String

プロパティ値

注釈

FragmentState.SayAs プロパティは、InterpretAs インスタンスのSayAs プロパティの値を取得または設定します。

SpeechSynthesizerでは、InterpretAs プロパティで示されるコンテンツ タイプを使用して、指定したテキストをレンダリングする方法を決定します。

たとえば、Edgar という名前は、"My name is Edgar" という名前で読み上げられます。 または、"My name is interpret-as" という文の<say-as interpret-as="spell-out"> Edgar </say-as>属性で指定されているように、文字でスペル アウトすることもできます。この場合、SpeechSynthesizerは Edgar を "E D G A R" と話します。

適用対象