_MailItem.VotingOptions Property

Returns or sets a String (string in C#) specifying a delimited string containing the voting options for the mail message. Read/write.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
<DispIdAttribute()> _
Property VotingOptions As String
    Get
    Set
'Usage
Dim instance As _MailItem
Dim value As String

value = instance.VotingOptions

instance.VotingOptions = value
[DispIdAttribute()]
string VotingOptions { get; set; }

Property Value

Type: System.String

Remarks

This property uses the character specified in the value name, sList, under HKEY_CURRENT_USER\Control Panel\International in the Windows registry, as the delimiter for multiple voting options.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace

Other Resources

How to: Add Voting Options to a Mail Item