PhoneNumberFormatter.GetNationalDirectDialingPrefixForRegion Method
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.
Static method that returns the national direct dialing prefix for the given region.
public:
static Platform::String ^ GetNationalDirectDialingPrefixForRegion(Platform::String ^ regionCode, bool stripNonDigit);
static winrt::hstring GetNationalDirectDialingPrefixForRegion(winrt::hstring const& regionCode, bool const& stripNonDigit);
public static string GetNationalDirectDialingPrefixForRegion(string regionCode, bool stripNonDigit);
function getNationalDirectDialingPrefixForRegion(regionCode, stripNonDigit)
Public Shared Function GetNationalDirectDialingPrefixForRegion (regionCode As String, stripNonDigit As Boolean) As String
Parameters
- regionCode
-
String
Platform::String
winrt::hstring
The region code of interest.
- stripNonDigit
-
Boolean
bool
When true, all non-digit characters are stripped from the returned string.
Returns
The national direct dialing prefix for the given region.