Share via


PhoneNumberIdentifier Class

Definition

Represents a Phone Number.

public class PhoneNumberIdentifier : Azure.Communication.CommunicationIdentifier
type PhoneNumberIdentifier = class
    inherit CommunicationIdentifier
Public Class PhoneNumberIdentifier
Inherits CommunicationIdentifier
Inheritance
PhoneNumberIdentifier

Constructors

PhoneNumberIdentifier(String, String)

Initializes a new instance of PhoneNumberIdentifier.

Properties

PhoneNumber

The phone number in E.164 format.

RawId

Returns the canonical string representation of the PhoneNumberIdentifier. You can use the RawId for encoding the identifier and then use it as a key in a database.

Methods

Equals(CommunicationIdentifier)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.

(Inherited from CommunicationIdentifier)
ToString()

Returns a string that represents the current object.

Applies to