Jaa


PhoneNumberFormatter.GetNationalDirectDialingPrefixForRegion Method

Definition

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

String

Platform::String

winrt::hstring

The national direct dialing prefix for the given region.

Applies to