PhoneNumbersModelFactory.PhoneNumberAreaCode(String) Method

Definition

Initializes a new instance of PhoneNumberAreaCode.

public static Azure.Communication.PhoneNumbers.PhoneNumberAreaCode PhoneNumberAreaCode (string areaCode = default);
static member PhoneNumberAreaCode : string -> Azure.Communication.PhoneNumbers.PhoneNumberAreaCode
Public Shared Function PhoneNumberAreaCode (Optional areaCode As String = Nothing) As PhoneNumberAreaCode

Parameters

areaCode
String

An area code.

Returns

A new PhoneNumberAreaCode instance for mocking.

Applies to