共用方式為


TextAnalysisModelFactory.SummaryContext(Int32, Int32) Method

Definition

Initializes a new instance of SummaryContext.

public static Azure.AI.Language.Text.SummaryContext SummaryContext (int offset = 0, int length = 0);
static member SummaryContext : int * int -> Azure.AI.Language.Text.SummaryContext
Public Shared Function SummaryContext (Optional offset As Integer = 0, Optional length As Integer = 0) As SummaryContext

Parameters

offset
Int32

Start position for the context. Use of different 'stringIndexType' values can affect the offset returned.

length
Int32

The length of the context. Use of different 'stringIndexType' values can affect the length returned.

Returns

A new SummaryContext instance for mocking.

Applies to