你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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