GetCountryCodeForRegion static method
Implementation
static int GetCountryCodeForRegion(String regionCode) {
final activationFactory =
CreateActivationFactory(_className, IID_IPhoneNumberFormatterStatics);
try {
final result = IPhoneNumberFormatterStatics(activationFactory)
.GetCountryCodeForRegion(regionCode);
return result;
} finally {
free(activationFactory);
}
}