SayAs SayAs SayAs SayAs Enum

定義

列舉適用於讀出如時間、日期和貨幣等項目的內容類型。Enumerates the content types for the speaking of elements such as times, dates, and currency.

public enum class SayAs
public enum SayAs
type SayAs = 
Public Enum SayAs
繼承

欄位

Date Date Date Date 3

將數字序列讀出為日期。Speak a number sequence as a date. 例如,將 "05/19/2004" 或 "19.5.2004" 讀作 "may nineteenth two thousand four"。For example, speak "05/19/2004" or "19.5.2004" as "may nineteenth two thousand four".

Day Day Day Day 13

將數字讀出為日期中的天。Speak a number as the day in a date. 例如,將 "3rd" 讀做 "third"。For example, speak "3rd" as "third".

DayMonth DayMonth DayMonth DayMonth 10

將數字序列讀出為日和月。Speak a number sequence as a day and month. 例如,將 "12/05" 讀作 "May twelfth",並將 "05/12" 讀作 "December 5th"。For example, speak "12/05" as "May twelfth", and speak "05/12" as "December 5th".

DayMonthYear DayMonthYear DayMonthYear DayMonthYear 4

將數字序列讀出為日期,包括日、月和年。Speak a number sequence as a date including the day, month, and year. 例如,將 "12/05/2004" 讀作 "May twelfth two thousand four"。For example, speak "12/05/2004" as "May twelfth two thousand four".

Month Month Month Month 12

將一個字唸為月份。Speak a word as a month. 例如,將 "June" 讀作 "June"。For example, speak "June" as "June".

MonthDay MonthDay MonthDay MonthDay 9

將數字序列讀出為月和日。Speak a number sequence as a month and day. 例如,將 "05/12" 讀作 "may twelfth",並將 "12/5" 讀作 "December 5th"。For example, speak "05/12" as "may twelfth", and speak "12/5" as "December 5th".

MonthDayYear MonthDayYear MonthDayYear MonthDayYear 5

將數字序列讀出為日期,包括日、月和年。Speak a number sequence as a date including the day, month, and year. 例如,將 "12/05/2004" 讀作 "December fifth two thousand four"。For example, speak "12/05/2004" as "December fifth two thousand four".

MonthYear MonthYear MonthYear MonthYear 8

將數字序列讀出為月和年。Speak a number sequence as a month and year. 例如,將 "05/2004" 讀作 "May two thousand four"。For example, speak "05/2004" as "May two thousand four".

NumberCardinal NumberCardinal NumberCardinal NumberCardinal 2

將數字讀出為基數。Speak a number as a cardinal number. 例如,將 "3" 讀做 "three"。For example, speak "3" as "three".

NumberOrdinal NumberOrdinal NumberOrdinal NumberOrdinal 1

將數字讀出為序數。Speak a number as an ordinal number. 例如,將 "3rd" 讀做 "third"。For example, speak "3rd" as "third".

SpellOut SpellOut SpellOut SpellOut 0

拼寫單字或片語。Spell the word or phrase. 例如,將 "clock" 說成 "C L O C K"。For example, say "clock" as "C L O C K".

Telephone Telephone Telephone Telephone 17

將數字序列讀出為美國的電話號碼。Speak a number sequence as a U.S. telephone number. 例如,將 "(306) 555-1212" 讀作 "Area code three zero six five five five one two one two"。For example, speak "(306) 555-1212" as "Area code three zero six five five five one two one two".

Text Text Text Text 18

將單字或片語依文字讀出。Speak the word or phrase as text. 例如,將 "timeline" 讀作 "timeline"。For example, speak "timeline" as "timeline".

Time Time Time Time 14

將數字序列讀出為時間。Speak a number sequence as a time. 例如,將 "9:45" 讀作 "nine forty-five",並將 "9:45am" 讀作 "nine forty-five A M"。For example, speak "9:45" as "nine forty-five", and speak "9:45am" as "nine forty-five A M".

Time12 Time12 Time12 Time12 16

將數字序列讀出為使用 12 小時制的時間。Speak a number sequence as a time using the 12-hour clock. 例如,將 "03:25" 讀作 "three twenty-five"。For example, speak "03:25" as "three twenty-five".

Time24 Time24 Time24 Time24 15

將數字序列讀出為使用 24 小時制的時間。Speak a number sequence as a time using the 24-hour clock. 例如,將 "18:00" 讀作 "eighteen hundred hours"。For example, speak "18:00" as "eighteen hundred hours".

Year Year Year Year 11

將數字讀出為年份。Speak a number as a year. 例如,將 "1998" 讀作 "nineteen ninety-eight"。For example, speak "1998" as "nineteen ninety-eight".

YearMonth YearMonth YearMonth YearMonth 7

將數字序列讀出為年和月。Speak a number sequence as a year and month. 例如,將 "2004/05" 讀作 "May two thousand four"。For example, speak "2004/05" as "May two thousand four".

YearMonthDay YearMonthDay YearMonthDay YearMonthDay 6

將數字序列讀出為日期,包括日、月和年。Speak a number sequence as a date including the day, month, and year. 例如,將 "2004/05/12" 讀作 "May twelfth two thousand four"。For example, speak "2004/05/12" as "May twelfth two thousand four".

備註

方法會使用SayAs列舉的成員來指定附加文字的內容類型, 語音合成引擎可以用它來通知其發音。 AppendTextWithHintThe AppendTextWithHint method uses members of the SayAs enumeration to specify the content type of the appended text, which the speech synthesis engine can use to inform its pronunciation.

適用於