Udostępnij za pośrednictwem


Tag Constructors

Definition

Overloads

Tag()

Initializes a new instance of the Tag class.

Tag(String, String, String, Guid, Int32)

Initializes a new instance of the Tag class.

Tag()

Source:
Tag.cs
Source:
Tag.cs

Initializes a new instance of the Tag class.

public Tag ();
Public Sub New ()

Applies to

Tag(String, String, String, Guid, Int32)

Source:
Tag.cs
Source:
Tag.cs

Initializes a new instance of the Tag class.

public Tag (string name, string description, string type, Guid id = default, int imageCount = 0);
new Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag : string * string * string * Guid * int -> Microsoft.Azure.CognitiveServices.Vision.CustomVision.Training.Models.Tag
Public Sub New (name As String, description As String, type As String, Optional id As Guid = Nothing, Optional imageCount As Integer = 0)

Parameters

name
String

Gets or sets the name of the tag.

description
String

Gets or sets the description of the tag.

type
String

Gets or sets the type of the tag. Possible values include: 'Regular', 'Negative'

id
Guid

Gets the Tag ID.

imageCount
Int32

Gets the number of images with this tag.

Applies to