Freigeben über


CustomVisionTrainingClientExtensions.CreateTagWithHttpMessages Methode

Definition

Erstellt ein Tag für das Projekt.

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)

Parameter

operations
ICustomVisionTrainingClient

Die Vorgangsgruppe für diese Erweiterungsmethode.

projectId
Guid

Die Projekt-ID.

name
String

Der Tagname.

description
String

Optionale Beschreibung für das Tag.

type
String

Optionaler Typ für das Tag. Mögliche Werte: "Regular", "Negativ"

customHeaders
Dictionary<String,List<String>>

Header, die der Anforderung hinzugefügt werden.

Gibt zurück

Gilt für: