Share via


Person Class

Definition

Person object.

public class Person : Microsoft.Azure.CognitiveServices.Vision.Face.Models.NameAndUserDataContract
type Person = class
    inherit NameAndUserDataContract
Public Class Person
Inherits NameAndUserDataContract
Inheritance

Constructors

Person()

Initializes a new instance of the Person class.

Person(Guid, String, String, IList<Guid>)

Initializes a new instance of the Person class.

Properties

Name

Gets or sets user defined name, maximum length is 128.

(Inherited from NameAndUserDataContract)
PersistedFaceIds

Gets or sets persistedFaceIds of registered faces in the person. These persistedFaceIds are returned from Person - Add a Person Face, and will not expire.

PersonId

Gets or sets personId of the target face list.

UserData

Gets or sets user specified data. Length should not exceed 16KB.

(Inherited from NameAndUserDataContract)

Methods

Validate()

Validate the object.

Applies to