banner

Tapi.IsAreaCodeRequired method

Specifies whether to require an area code for a particular country or region, identified by Tapi.get_CountryIndex.

Syntax

bIsRequired = window.external.Tapi.IsAreaCodeRequired(iCountryIndex);

Parameters iCountryIndex

Integer. The Telephony API (TAPI) country/region index to check.

Return Values Boolean. Returns the value TRUE if an area code is required for a particular country or region.
Applies To window.external.Tapi
Example
bIsRequired = window.external.Tapi.IsAreaCodeRequired(030);