Partager via


_ExchangeUser.CompanyName Property

Returns a String (string in C#) representing the name of the company for the ExchangeUser. Read/write.

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

Syntax

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

value = instance.CompanyName

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

Property Value

Type: System.String

Remarks

This property corresponds to the MAPI property, PidTagCompanyName.

Returns an empty string if this property has not been implemented or does not exist for the ExchangeUser object.

See Also

Reference

_ExchangeUser Interface

_ExchangeUser Members

Microsoft.Office.Interop.Outlook Namespace