SrgsToken.Text Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the written form of the word that should be spoken.
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
Property Value
The text contained within the SrgsToken class instance.
Exceptions
An attempt is made to set Text to null
.
An attempt is made to assign an empty string to Text.
An attempt is made to assign a string that contains a quotation mark (") to Text.
Remarks
Although they typically represent the same value, the Text form may be different than the Display form for a word or phrase in a SrgsToken. For example, the Display form may be an acronym, such as "USA", while the text that will be spoken, and to which the Pronunciation applies, is "United States of America".
The default value for the Text property is an empty string - "".
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈