_MailItem.Companies Property

Returns or sets a String (string in C#) representing the names of the companies associated with the Outlook item. Read/write.

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

Syntax

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

value = instance.Companies

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

Property Value

Type: System.String

Remarks

This is a free-form text field.

See Also

Reference

_MailItem Interface

_MailItem Members

Microsoft.Office.Interop.Outlook Namespace