Share via


TextAnalyticsModelFactory.LinkedEntity Method

Definition

Initializes a new instance of LinkedEntity for mocking purposes.

public static Azure.AI.TextAnalytics.LinkedEntity LinkedEntity (string name, string dataSourceEntityId, string language, string dataSource, Uri url, System.Collections.Generic.IEnumerable<Azure.AI.TextAnalytics.LinkedEntityMatch> matches, string bingEntitySearchApiId);
static member LinkedEntity : string * string * string * string * Uri * seq<Azure.AI.TextAnalytics.LinkedEntityMatch> * string -> Azure.AI.TextAnalytics.LinkedEntity
Public Shared Function LinkedEntity (name As String, dataSourceEntityId As String, language As String, dataSource As String, url As Uri, matches As IEnumerable(Of LinkedEntityMatch), bingEntitySearchApiId As String) As LinkedEntity

Parameters

name
String

Sets the Name property.

dataSourceEntityId
String

Sets the DataSourceEntityId property.

language
String

Sets the Language property.

dataSource
String

Sets the DataSource property.

url
Uri

Sets the Url property.

matches
IEnumerable<LinkedEntityMatch>

Sets the Matches property.

bingEntitySearchApiId
String

Sets the BingEntitySearchApiId property.

Returns

A new instance of LinkedEntity for mocking purposes.

Applies to