共用方式為


TextAnalysisModelFactory.AnalyzeTextSentimentResult(SentimentResult) Method

Definition

Initializes a new instance of AnalyzeTextSentimentResult.

public static Azure.AI.Language.Text.AnalyzeTextSentimentResult AnalyzeTextSentimentResult (Azure.AI.Language.Text.SentimentResult results = default);
static member AnalyzeTextSentimentResult : Azure.AI.Language.Text.SentimentResult -> Azure.AI.Language.Text.AnalyzeTextSentimentResult
Public Shared Function AnalyzeTextSentimentResult (Optional results As SentimentResult = Nothing) As AnalyzeTextSentimentResult

Parameters

results
SentimentResult

The sentiment analysis results.

Returns

A new AnalyzeTextSentimentResult instance for mocking.

Applies to