Share via


Phone Constructors

Definition

Overloads

Phone()

Initializes a new instance of the Phone class.

Phone(String, String, Nullable<Int32>)

Initializes a new instance of the Phone class.

Phone()

Initializes a new instance of the Phone class.

public Phone ();
Public Sub New ()

Applies to

Phone(String, String, Nullable<Int32>)

Initializes a new instance of the Phone class.

public Phone (string countryCode = default, string text = default, int? index = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.Phone : string * string * Nullable<int> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Phone
Public Sub New (Optional countryCode As String = Nothing, Optional text As String = Nothing, Optional index As Nullable(Of Integer) = Nothing)

Parameters

countryCode
String

CountryCode of the detected Phone number.

text
String

Detected Phone number.

index
Nullable<Int32>

Index(Location) of the Phone number in the input text content.

Applies to