Compartilhar via


TextAnalysisModelFactory.NumericRangeMetadata Method

Definition

Initializes a new instance of NumericRangeMetadata.

public static Azure.AI.Language.Text.NumericRangeMetadata NumericRangeMetadata (Azure.AI.Language.Text.RangeKind rangeKind = default, double minimum = 0, double maximum = 0, Azure.AI.Language.Text.RangeInclusivity? rangeInclusivity = default);
static member NumericRangeMetadata : Azure.AI.Language.Text.RangeKind * double * double * Nullable<Azure.AI.Language.Text.RangeInclusivity> -> Azure.AI.Language.Text.NumericRangeMetadata
Public Shared Function NumericRangeMetadata (Optional rangeKind As RangeKind = Nothing, Optional minimum As Double = 0, Optional maximum As Double = 0, Optional rangeInclusivity As Nullable(Of RangeInclusivity) = Nothing) As NumericRangeMetadata

Parameters

rangeKind
RangeKind

Kind of numeric ranges supported - like Number, Speed, etc.

minimum
Double

The beginning value of the interval.

maximum
Double

The ending value of the interval.

rangeInclusivity
Nullable<RangeInclusivity>

The inclusiveness of this range.

Returns

A new NumericRangeMetadata instance for mocking.

Applies to