---
title: "Aspose::Email::PersonalInfo::VCard::VCardAgent class"
url: "https://reference.aspose.com/email/cpp/aspose.email.personalinfo.vcard/vcardagent/"
product: "Aspose.Email for C++"
description: "Represents a vCard Agent property"
---


## VCardAgent class

Represents a vCard Agent property

## Constructors

| Name | Description |
| --- | --- |
| [VCardAgent (2 overloads)](./vcardagent/) | Initializes a new instance of the VCardAgent class |

## Methods

| Name | Description |
| --- | --- |
| [get_AgentCard](./get_agentcard/) | Gets an agent's card ( null if ValueLocation is not INLINE ) |
| [get_Uri](./get_uri/) | Gets a uri of agent card ( null if ValueLocation is INLINE ) |
| [get_ValueLocation](./get_valuelocation/) | Gets a value location |
| [set_AgentCard](./set_agentcard/) | Sets an agent's card ( null if ValueLocation is not INLINE ) |
| [set_Uri](./set_uri/) | Sets a uri of agent card ( null if ValueLocation is INLINE ) |
| [set_ValueLocation](./set_valuelocation/) | Sets a value location |
| [ToVCardHeader](./tovcardheader/) | Converts this instance into the corresponding VCardHeader |

