PhoneNumberFormatter class winrt Class

Formats phone numbers.

Inheritance
Implemented types
Available Extensions

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
inherited
format(PhoneNumberInfo number) String
override
formatPartialString(String number) String
override
formatString(String number) String
override
formatStringWithLeftToRightMarkers(String number) String
override
formatWithOutputFormat(PhoneNumberInfo number, PhoneNumberFormat numberFormat) String
override
getIids(Pointer<Uint32> iidCount, Pointer<Pointer<GUID>> iids) int
inherited
getRuntimeClassName(Pointer<IntPtr> className) int
inherited
getTrustLevel(Pointer<Int32> trustLevel) int
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
inherited
release() int
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

getCountryCodeForRegion(String regionCode) int
getNationalDirectDialingPrefixForRegion(String regionCode, bool stripNonDigit) String
tryCreate(String regionCode, PhoneNumberFormatter phoneNumber) → void
wrapWithLeftToRightMarkers(String number) String