SrgsToken.Text 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定應讀出之文字的書寫形式。
public:
property System::String ^ Text { System::String ^ get(); void set(System::String ^ value); };
public string Text { get; set; }
member this.Text : string with get, set
Public Property Text As String
屬性值
包含在 SrgsToken 類別執行個體中的文字。
例外狀況
嘗試將 Text 設定為 null。
嘗試要將空字串指派給 Text。
嘗試要將包含引號 (') 的字串指派給 Text。
備註
雖然它們通常代表相同的值,但 Text 表單可能會與 Display 中的單字或片語的表單不同 SrgsToken 。 例如, Display 表單可能是縮寫,例如 "USA",而要說出的文字以及套用的文字 Pronunciation 是「美國北美洲」。
屬性的預設值 Text 為空字串-""。