Partilhar via


HealthDeidentificationModelFactory.StringIndex(Int32, Int32, Int32) Method

Definition

Initializes a new instance of StringIndex.

public static Azure.Health.Deidentification.StringIndex StringIndex (int utf8 = 0, int utf16 = 0, int codePoint = 0);
static member StringIndex : int * int * int -> Azure.Health.Deidentification.StringIndex
Public Shared Function StringIndex (Optional utf8 As Integer = 0, Optional utf16 As Integer = 0, Optional codePoint As Integer = 0) As StringIndex

Parameters

utf8
Int32

The offset or length of the substring in UTF-8 encoding.

utf16
Int32

The offset or length of the substring in UTF-16 encoding.

Primary encoding used by .NET, Java, and JavaScript.

codePoint
Int32

The offset or length of the substring in CodePoint encoding.

Primary encoding used by Python.

Returns

A new StringIndex instance for mocking.

Applies to