
## RemoveVotingButton {#removevotingbutton}

Removes the voting button.

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

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

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

