# OutlookVoting

Outlook message voting options and selected response.

Class 

`OfficeIMO.Email`

**Namespace**

`OfficeIMO.Email`

**Assembly**

`OfficeIMO.Email`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[OutlookVoting.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L32)

**Modifiers**

sealed

Outlook message voting options and selected response.

## Inheritance

- object
- OutlookVoting

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [EmailMessageMetadata.Voting](/api/email/officeimo-email-emailmessagemetadata/#property-voting)

Filter members 

Show inherited

## Constructors

`public OutlookVoting()` [#](#constructor-ctor)

[OutlookVoting.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L32)

## Methods

`public void ClearOptions()` [#](#method-clearoptions)

[OutlookVoting.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L46)

Removes all voting options, including any retained undecodable verb stream.

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public IList<OutlookVoteOption> Options { get; }` [#](#property-options)

[OutlookVoting.cs:35](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L35)

Decoded voting options.

`public string? Response { get; set; }` [#](#property-response)

[OutlookVoting.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L37)

Voting option selected on a response message.

`public byte[]? RawVerbStream { get; internal set; }` [#](#property-rawverbstream)

[OutlookVoting.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L39)

Original PidLidVerbStream bytes, retained even when decoding fails.

`public bool OptionsDecoded { get; internal set; }` [#](#property-optionsdecoded)

[OutlookVoting.cs:41](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Email/Outlook/OutlookVoting.cs#L41)

Whether [OutlookVoting.Options](/api/email/officeimo-email-outlookvoting/) was decoded successfully from [OutlookVoting.RawVerbStream](/api/email/officeimo-email-outlookvoting/).

<!-- PowerForge markdown artifact sha256:EE45B60C7927AC0B9FA37A01EA8152FF03DBBDB82F7BAC6F7F7AA4EE4C3D0580 -->
