Share via


itLocationInfo 介面 (tapi3if.h)

ITLocationInfo 介面可用來取得與呼叫端位置相關的資訊。 這是使用電話語音小程式在 控制台 下輸入的位置資訊。

ITLocationInfo 介面指標是使用 ITAddressTranslation::EnumerateLocationsITAddressTranslation::get_Locations取得。 電話語音小程式中可以有多個位置專案。 如果是, EnumerateLocationsget_Locations 將會全部傳回它們。 不過,只有其中一個是目前的位置,而TAPI會在 呼叫ITAddressTranslation::TranslateAddress 時使用該位置作為位址轉譯內容。

ITLocationInfo 介面是 TAPI 2 的 COM 包裝函式。xLINELOCATIONENTRY 結構。

繼承

ITLocationInfo 介面繼承自 IDispatch 介面。 ITLocationInfo 也有下列類型的成員:

方法

ITLocationInfo 介面具有這些方法。

 
ITLocationInfo::get_CancelCallWaitingCode

get_CancelCallWaitingCode 方法會取得撥號數位和修飾詞字元,這些字元前面必須加上可撥號字串,才能取消呼叫等候。
ITLocationInfo::get_CityCode

get_CityCode 方法會取得城市的程序代碼。
ITLocationInfo::get_CountryCode

get_CountryCode方法會取得國家/地區代碼。
ITLocationInfo::get_CountryID

get_CountryID方法會取得國家/地區的標識符。
ITLocationInfo::get_LocalAccessCode

get_LocalAccessCode 方法會取得本機存取碼。
ITLocationInfo::get_LocationName

get_LocationName方法會取得位置名稱。
ITLocationInfo::get_LongDistanceAccessCode

get_LongDistanceAccessCode 方法會取得可存取長距離的程序代碼。
ITLocationInfo::get_Options

get_Options方法會取得目前位置是否支援脈衝或音調撥號的指標。
ITLocationInfo::get_PermanentLocationID

get_PermanentLocationID 方法會取得永久位置標識符。
ITLocationInfo::get_PreferredCardID

get_PreferredCardID 方法會取得從目前位置撥號的慣用通話卡標識碼。
ITLocationInfo::get_TollPrefixList

get_TollPrefixList 方法會取得收費前綴清單。

規格需求

需求
目標平台 Windows
標頭 tapi3if.h (包括 Tapi3.h)

另請參閱

IDispatch

ITAddressTranslation::EnumerateLocations

ITAddressTranslation::TranslateAddress

ITAddressTranslation::get_Locations

LINELOCATIONENTRY

lineGetTranslateCaps