Partager via


CustomVisionTrainingClientExtensions.CreateTagWithHttpMessages Méthode

Définition

Crée une étiquette pour le projet.

public static Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag> CreateTagWithHttpMessages (this Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient operations, Guid projectId, string name, string description = default, string type = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default);
static member CreateTagWithHttpMessages : Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.ICustomVisionTrainingClient * Guid * string * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> -> Microsoft.Rest.HttpOperationResponse<Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag>
<Extension()>
Public Function CreateTagWithHttpMessages (operations As ICustomVisionTrainingClient, projectId As Guid, name As String, Optional description As String = Nothing, Optional type As String = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing) As HttpOperationResponse(Of Tag)

Paramètres

operations
ICustomVisionTrainingClient

Groupe d’opérations pour cette méthode d’extension.

projectId
Guid

ID de projet.

name
String

Nom de la balise.

description
String

Description facultative de la balise.

type
String

Type facultatif pour la balise. Les valeurs possibles sont les suivantes : 'Regular', 'Negative'

customHeaders
Dictionary<String,List<String>>

En-têtes qui seront ajoutés à la demande.

Retours

S’applique à