
## AddVotingButton {#addvotingbutton}

Adds the voting button.

**Returns:** static void Aspose::Email::Mapi::

```cpp
AddVotingButton(System::SharedPtr < MapiMessageItemBase > message, System::String displayName)
```

| Parameter | Description |
| --- | --- |
| message | The MapiMessageItemBase in which the voting button is added. |
| displayName | The display name of button. |

