Dela via


PhoneNumberFormatter Constructor

Definition

Creates a PhoneNumberFormatter object, using the current default region.

public:
 PhoneNumberFormatter();
 PhoneNumberFormatter();
public PhoneNumberFormatter();
function PhoneNumberFormatter()
Public Sub New ()

Remarks

Note that you can also create PhoneNumberFormatter objects using PhoneNumberFormatter.TryCreate, which takes a two-letter ISO region name as an argument and attempts to create a PhoneNumberFormatter for the given region.

Applies to